File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -347,17 +347,17 @@ void Renderer::mapBuffers()
347
347
348
348
void Renderer::addCommand (RenderCommand* command)
349
349
{
350
- int renderQueue =_commandGroupStack.top ();
351
- addCommand (command, renderQueue );
350
+ int renderQueueID =_commandGroupStack.top ();
351
+ addCommand (command, renderQueueID );
352
352
}
353
353
354
- void Renderer::addCommand (RenderCommand* command, int renderQueue )
354
+ void Renderer::addCommand (RenderCommand* command, int renderQueueID )
355
355
{
356
356
CCASSERT (!_isRendering, " Cannot add command while rendering" );
357
- CCASSERT (renderQueue >=0 , " Invalid render queue" );
357
+ CCASSERT (renderQueueID >=0 , " Invalid render queue" );
358
358
CCASSERT (command->getType () != RenderCommand::Type::UNKNOWN_COMMAND, " Invalid Command Type" );
359
359
360
- _renderGroups[renderQueue ].push_back (command);
360
+ _renderGroups[renderQueueID ].push_back (command);
361
361
}
362
362
363
363
void Renderer::pushGroup (int renderQueueID)
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ class CC_DLL Renderer
160
160
void addCommand (RenderCommand* command);
161
161
162
162
/* * Adds a `RenderComamnd` into the renderer specifying a particular render queue ID */
163
- void addCommand (RenderCommand* command, int renderQueue );
163
+ void addCommand (RenderCommand* command, int renderQueueID );
164
164
165
165
/* * Pushes a group into the render queue */
166
166
void pushGroup (int renderQueueID);
You can’t perform that action at this time.
0 commit comments