adjust comment codes

This commit is contained in:
Huabing.Xu 2013-12-27 13:52:44 +08:00
parent 40af66a7bc
commit 268f2fcc21
1 changed files with 1 additions and 5 deletions

View File

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