Handle case where subdivision in zero
This commit is contained in:
parent
323ba37b73
commit
1e85ea0a36
@ -194,7 +194,7 @@ void smCreateMesh(smMesh& output, u32 subdivisions)
|
||||
|
||||
assert(map.pairCount < edgeVertexPairCount);
|
||||
|
||||
assert(out.vertexCount < vertexCount);
|
||||
assert(out.vertexCount <= vertexCount);
|
||||
assert(out.indexCount == indexCount);
|
||||
|
||||
output.vertexCount = out.vertexCount;
|
||||
|
Loading…
x
Reference in New Issue
Block a user