mirror of
https://github.com/aap/librw.git
synced 2025-12-20 01:19:51 +00:00
fixed build for linux and ps2
This commit is contained in:
@@ -517,7 +517,7 @@ Geometry::buildMeshes(void)
|
||||
// count indices per mesh
|
||||
tri = this->triangles;
|
||||
for(int32 i = 0; i < this->numTriangles; i++){
|
||||
assert(tri->matId >= 0 && tri->matId < numMeshes);
|
||||
assert(tri->matId < numMeshes);
|
||||
numIndices[tri->matId] += 3;
|
||||
tri++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user