replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :)

This commit is contained in:
Thomas Fischer 2014-03-15 12:50:38 +01:00
parent 2844ab6912
commit 489106ae5e
19 changed files with 3 additions and 26 deletions

View file

@ -786,7 +786,6 @@ void DecalRoad::prepRenderImage( SceneRenderState* state )
U32 idxCount = ( endBatch.endIndex - startIdx ) + 1;
U32 triangleCount = idxCount / 3;
TORQUE_UNUSED(vertCount);
AssertFatal( startVert + vertCount <= mVertCount, "DecalRoad, bad draw call!" );
AssertFatal( startIdx + triangleCount < mTriangleCount * 3, "DecalRoad, bad draw call!" );