diff options
Diffstat (limited to 'src/factories')
| -rw-r--r-- | src/factories/TextureFactory.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/factories/TextureFactory.cpp b/src/factories/TextureFactory.cpp index 7ba02a4..9202b94 100644 --- a/src/factories/TextureFactory.cpp +++ b/src/factories/TextureFactory.cpp @@ -122,11 +122,6 @@ void TextureCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat std::ofstream file(dpath + ".inc.c", std::ios::binary); size_t byteSize = std::max(1, (int) (texture->mFormat.depth / 8)); - const auto bsize = GetSafeNode<uint32_t>(node, "byte_size", byteSize); - - if (bsize) { - byteSize = bsize; - } SPDLOG_INFO("Byte Size: {}", byteSize); |
