shadowvar cleanup

This commit is contained in:
Azaezel 2018-03-14 17:42:18 -05:00
parent e85af7b4d8
commit d11a942f6d

View file

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