mirror of https://github.com/axmolengine/axmol.git
remove warning message---finished
This commit is contained in:
parent
6fd7197d96
commit
346d42f723
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue