It suddenly works again?

This commit is contained in:
Dynamitos
2023-12-14 09:04:23 +01:00
parent 88004ce70f
commit 462999858f
10 changed files with 45 additions and 43 deletions
+2 -2
View File
@@ -116,9 +116,9 @@ void VertexData::loadMesh(MeshId id, Array<uint32> loadedIndices, Array<Meshlet>
});
}
meshData[id].add(MeshData{
.numMeshlets = numMeshlets,
.meshletOffset = meshletOffset,
.numMeshlets = (uint16)numMeshlets,
.indicesOffset = (uint16)meshOffsets[id],
.indicesOffset = (uint32)meshOffsets[id],
});
currentMesh += numMeshlets;
}