mirror of https://github.com/axmolengine/axmol.git
fix indent
This commit is contained in:
parent
734b5bd44f
commit
d0ddafb424
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue