Update TextureFactory.cpp

This commit is contained in:
MegaMech
2024-03-12 16:27:32 -06:00
committed by Lywx
parent a17f07ff73
commit c3f932e721
-5
View File
@@ -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);