mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
shadowvar cleanup
This commit is contained in:
parent
c01b149e74
commit
0a80dac669
1 changed files with 2 additions and 2 deletions
|
|
@ -350,9 +350,9 @@ void MeshRenderSystem::rebuildBuffers()
|
||||||
U16 *pIndex;
|
U16 *pIndex;
|
||||||
buffers.primitiveBuffer.lock(&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++;
|
pIndex++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue