mirror of https://github.com/axmolengine/axmol.git
Add some optimization tips
This commit is contained in:
parent
37d3601fd0
commit
05bc444ccb
|
@ -178,6 +178,8 @@ void Renderer::render()
|
|||
|
||||
void Renderer::drawBatchedQuads()
|
||||
{
|
||||
//TODO we can improve the draw performance by inseart material switching command before hand.
|
||||
|
||||
int quadsToDraw = 0;
|
||||
int startQuad = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue