mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6236 from dumganhar/develop
Small fix in CCRenderer.cpp, 'auto i = 0' -> 'ssize_t i = 0' in for loop
This commit is contained in:
commit
588d825691
|
@ -261,7 +261,8 @@ int Renderer::createRenderQueue()
|
|||
void Renderer::visitRenderQueue(const RenderQueue& queue)
|
||||
{
|
||||
ssize_t size = queue.size();
|
||||
for (auto index = 0; index < size; ++index)
|
||||
|
||||
for (ssize_t index = 0; index < size; ++index)
|
||||
{
|
||||
auto command = queue[index];
|
||||
auto commandType = command->getType();
|
||||
|
|
Loading…
Reference in New Issue