fixed build for linux and ps2

This commit is contained in:
aap
2017-08-29 14:05:45 +02:00
parent d00ab2f526
commit 239a4eb4bc
17 changed files with 53 additions and 28 deletions

View File

@@ -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++;
}