mirror of https://github.com/axmolengine/axmol.git
adjust comment codes
This commit is contained in:
parent
40af66a7bc
commit
268f2fcc21
|
@ -673,11 +673,7 @@ void Sprite::draw(void)
|
|||
//TODO implement z order
|
||||
_quadCommand.init(0, _vertexZ, _texture->getName(), _shaderProgram, _blendFunc, &_quad, 1, _modelViewTransform);
|
||||
|
||||
// if(!culling())
|
||||
// {
|
||||
// renderCommand->releaseToCommandPool();
|
||||
// }
|
||||
// else
|
||||
// if(culling())
|
||||
{
|
||||
Director::getInstance()->getRenderer()->addCommand(&_quadCommand);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue