mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 05:34:34 +00:00
more VS2012 L4 warning fixes
This commit is contained in:
parent
502e346eb6
commit
2844ab6912
20 changed files with 30 additions and 8 deletions
|
|
@ -786,6 +786,7 @@ 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!" );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue