From b7fb89d04444bbacccdea410a617536c990f6b22 Mon Sep 17 00:00:00 2001 From: Garrett Cox Date: Wed, 12 Oct 2022 15:47:26 -0500 Subject: [#1671] Re-create textures from scratch to fix format issues (#1702) --- ZAPD/Globals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& Globals::GetExporterMap() -- cgit v1.2.3