mirror of https://github.com/axmolengine/axmol.git
simplify code
This commit is contained in:
parent
34f6368ff7
commit
1e15131b2b
|
@ -322,11 +322,7 @@ void Director::drawScene()
|
|||
popMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_PROJECTION);
|
||||
}
|
||||
_currentCamera = nullptr;
|
||||
}
|
||||
|
||||
// draw the scene
|
||||
if (_runningScene)
|
||||
{
|
||||
|
||||
_eventDispatcher->dispatchEvent(_eventAfterVisit);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue