mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Fix return size
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user