Skip to content

Commit

Permalink
Fix return size
Browse files Browse the repository at this point in the history
  • Loading branch information
inspectredc authored and KiritoDv committed Nov 26, 2024
1 parent 62446c7 commit c7d12da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/CompressedTextureFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c7d12da

Please sign in to comment.