summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2022-10-12 15:47:26 -0500
committerGitHub <noreply@github.com>2022-10-12 16:47:26 -0400
commitb7fb89d04444bbacccdea410a617536c990f6b22 (patch)
tree34ae58674cddbabbecd82d619edfa9aba65daa1c
parent2a7a28ccdadfadd8b2235ec2213b75bc1e82d125 (diff)
[#1671] Re-create textures from scratch to fix format issues (#1702)
-rw-r--r--ZAPD/Globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/Globals.cpp b/ZAPD/Globals.cpp
index 5fbc420..c02c8df 100644
--- a/ZAPD/Globals.cpp
+++ b/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()