summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-03-10 23:52:09 -0600
committerLywx <kiritodev01@gmail.com>2024-03-11 00:05:16 -0600
commit1daff9dc0d2911e83db0af0d314c52c4f120ea81 (patch)
tree865970fdd14c2c039c9b57f680c44413763d06f6
parent0277b06b4787f099ed0289eb95ceab98175cc8c4 (diff)
Used hex for size
-rw-r--r--src/factories/TextureFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/TextureFactory.cpp b/src/factories/TextureFactory.cpp
index 6e3142f..a2f881e 100644
--- a/src/factories/TextureFactory.cpp
+++ b/src/factories/TextureFactory.cpp
@@ -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";