mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
shadowvar cleanup
This commit is contained in:
parent
e85af7b4d8
commit
d11a942f6d
1 changed files with 2 additions and 2 deletions
|
|
@ -350,9 +350,9 @@ void MeshRenderSystem::rebuildBuffers()
|
|||
U16 *pIndex;
|
||||
buffers.primitiveBuffer.lock(&pIndex);
|
||||
|
||||
for (U16 i = 0; i < buffers.primData.size(); i++)
|
||||
for (U16 primDataIDx = 0; primDataIDx < buffers.primData.size(); primDataIDx++)
|
||||
{
|
||||
*pIndex = i;
|
||||
*pIndex = primDataIDx;
|
||||
pIndex++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue