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:
James Chen 2014-04-11 13:53:54 +08:00
commit 588d825691
1 changed files with 2 additions and 1 deletions

View File

@ -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();