feat: dds decompression

This commit is contained in:
TrèsAbhi committed 2023-12-25 20:50:19 -06:00
1 parent 6361b09129
commit 4ffb7cac7c
6 files changed
+164 -17

No files matched your search

+2 -2
View File
@@ -84,9 +84,9 @@ export class ScgStream extends ScpgStream {
ScgStream.vertexStride(polygonGroupRaw.vertexFormat) *
polygonGroupRaw.vertexCount;
if (verticesStream.buffer.length !== stride) {
if (verticesStream.stream.length !== stride) {
console.warn(
`Vertex stride mismatch; expected ${stride}, got ${verticesStream.buffer.length}`,
`Vertex stride mismatch; expected ${stride}, got ${verticesStream.stream.length}`,
);
return;