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