remove warning message---finished

This commit is contained in:
Huabing.Xu 2014-04-16 11:20:45 +08:00
parent 6fd7197d96
commit 346d42f723
2 changed files with 0 additions and 2 deletions

View File

@ -158,7 +158,6 @@ void NodeGrid::visit(Renderer *renderer, const Matrix &parentTransform, bool par
if(_nodeGrid && _nodeGrid->isActive()) if(_nodeGrid && _nodeGrid->isActive())
{ {
// restore projection // restore projection
Director *director = Director::getInstance();
director->setProjection(beforeProjectionType); director->setProjection(beforeProjectionType);
} }

View File

@ -684,7 +684,6 @@ void RenderTexture::begin()
if(!_keepMatrix) if(!_keepMatrix)
{ {
Director *director = Director::getInstance();
director->setProjection(director->getProjection()); director->setProjection(director->getProjection());
const Size& texSize = _texture->getContentSizeInPixels(); const Size& texSize = _texture->getContentSizeInPixels();