fix indent

This commit is contained in:
halx99 2020-02-23 21:31:55 +08:00
parent 734b5bd44f
commit d0ddafb424
1 changed files with 7 additions and 7 deletions

View File

@ -591,12 +591,12 @@ void Renderer::drawBatchedTriangles()
} }
else else
{ {
// is this the first one? // is this the first one?
if (!firstCommand) if (!firstCommand)
{ {
batchesTotal++; batchesTotal++;
_triBatchesToDraw[batchesTotal].offset = _triBatchesToDraw[batchesTotal - 1].offset + _triBatchesToDraw[batchesTotal - 1].indicesToDraw; _triBatchesToDraw[batchesTotal].offset = _triBatchesToDraw[batchesTotal - 1].offset + _triBatchesToDraw[batchesTotal - 1].indicesToDraw;
} }
_triBatchesToDraw[batchesTotal].cmd = cmd; _triBatchesToDraw[batchesTotal].cmd = cmd;
_triBatchesToDraw[batchesTotal].indicesToDraw = (int) cmd->getIndexCount(); _triBatchesToDraw[batchesTotal].indicesToDraw = (int) cmd->getIndexCount();