mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: dds decompression
This commit is contained in:
1 parent
6361b09129
commit
4ffb7cac7c
6 files changed
+164
-17
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user