diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2022-10-12 15:47:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-12 16:47:26 -0400 |
| commit | 98af2c468cc84a00d055f2fd850cf5a724f61294 (patch) | |
| tree | 15d25f49acbfdfa9e8546d7ee8b78122032997d7 /ZAPDTR | |
| parent | 825af33b6a008f1eb5d6c8ff57859487b502b8c7 (diff) | |
[#1671] Re-create textures from scratch to fix format issues (#1702)
Diffstat (limited to 'ZAPDTR')
| -rw-r--r-- | ZAPDTR/ZAPD/Globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPDTR/ZAPD/Globals.cpp b/ZAPDTR/ZAPD/Globals.cpp index 5fbc42055..c02c8df4b 100644 --- a/ZAPDTR/ZAPD/Globals.cpp +++ b/ZAPDTR/ZAPD/Globals.cpp @@ -136,7 +136,7 @@ void Globals::BuildAssetTexture(const fs::path& pngFilePath, TextureType texType std::string src = tex.GetBodySourceCode(); - File::WriteAllText(outPath.string(), src); + File::WriteAllBytes(outPath.string(), src.c_str(), src.size()); } std::map<std::string, ExporterSet*>& Globals::GetExporterMap() |
