Fix return size

This commit is contained in:
inspectredc
2024-11-26 10:27:23 -06:00
committed by Lywx
parent 62446c7ba4
commit c7d12dadb5
+1 -1
View File
@@ -192,7 +192,7 @@ ExportResult CompressedTextureCodeExporter::Export(std::ostream &write, std::sha
write << "\n";
}
return offset + isize * byteSize;
return offset + compressedSize;
}
ExportResult CompressedTextureBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement) {