Skip to content

Commit

Permalink
ifdef debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Dec 3, 2023
1 parent c35f94c commit 42d6391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/TextureFunction.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export namespace TextureFunction {
Warning("SaveDDSImageToMemory (%#lX%s): FAILED\n", entry.crc_hash, entry.ext.c_str());
return {};
}
#if 1
#ifdef _DEBUG
const auto file_name = std::format("0x{:x}.dds", entry.crc_hash);
const auto file_out = dll_path / "textures" / file_name;
std::filesystem::create_directory(file_out.parent_path());
Expand Down

0 comments on commit 42d6391

Please sign in to comment.