Used hex for size

This commit is contained in:
KiritoDv
2024-03-11 00:05:16 -06:00
committed by Lywx
parent 0277b06b47
commit 1daff9dc0d
+1 -1
View File
@@ -150,7 +150,7 @@ void TextureCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
}
if(start == offset){
write << GetSafeNode<std::string>(node, "ctype", "static const u8") << " " << name << "[][0x" << texture->mBuffer.size() << std::hex << std::uppercase << "] = {\n";
write << GetSafeNode<std::string>(node, "ctype", "static const u8") << " " << name << "[][" << texture->mBuffer.size() << "] = {\n";
}
write << tab << "{\n";