diff options
| author | AltoXorg <56553686+Alto1772@users.noreply.github.com> | 2025-07-24 12:58:05 +0800 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-07-25 09:59:11 -0600 |
| commit | a81b16b01fdda0dc82e26cb37f19e3e54b275cf4 (patch) | |
| tree | ead1fbdd790ec44e5f5f0742839ebbe30ef9d27f /src/factories/CompressedTextureFactory.cpp | |
| parent | 87c6faae7e8fb00eba9b6d96d5ca1ae0e938e5b1 (diff) | |
Expand the src dest feature to every mode
Diffstat (limited to 'src/factories/CompressedTextureFactory.cpp')
| -rw-r--r-- | src/factories/CompressedTextureFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/factories/CompressedTextureFactory.cpp b/src/factories/CompressedTextureFactory.cpp index 6b507e4..34ccc61 100644 --- a/src/factories/CompressedTextureFactory.cpp +++ b/src/factories/CompressedTextureFactory.cpp @@ -218,7 +218,7 @@ ExportResult CompressedTextureCodeExporter::Export(std::ostream &write, std::sha write << tab_t << "{\n"; - write << tab_t << tab_t << "#include \"" << Companion::Instance->GetOutputPath() + "/" << *replacement << ".incbin.c\"\n"; + write << tab_t << tab_t << "#include \"" << Companion::Instance->GetDestRelativeOutputPath() + "/" << *replacement << ".incbin.c\"\n"; write << tab_t << "},\n"; @@ -231,7 +231,7 @@ ExportResult CompressedTextureCodeExporter::Export(std::ostream &write, std::sha } else { write << "u8 " << symbol << "[] = {\n"; - write << tab_t << "#include \"" << Companion::Instance->GetOutputPath() + "/" << *replacement << ".incbin.c\"\n"; + write << tab_t << "#include \"" << Companion::Instance->GetDestRelativeOutputPath() + "/" << *replacement << ".incbin.c\"\n"; write << "};\n"; |
