wrong parameter for visit

This commit is contained in:
yangxiao 2014-08-08 11:52:40 +08:00
parent 4dce59582b
commit 911144b720
1 changed files with 3 additions and 3 deletions

View File

@ -303,7 +303,7 @@ void Director::drawScene()
loadMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_PROJECTION, Camera::_visitingCamera->getViewProjectionMatrix());
//visit the scene
_runningScene->visit(_renderer, Mat4::IDENTITY, false);
_runningScene->visit(_renderer, Mat4::IDENTITY, 0);
_renderer->render();
popMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_PROJECTION);
@ -316,7 +316,7 @@ void Director::drawScene()
loadMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_PROJECTION, Camera::_visitingCamera->getViewProjectionMatrix());
//visit the scene
_runningScene->visit(_renderer, Mat4::IDENTITY, false);
_runningScene->visit(_renderer, Mat4::IDENTITY, 0);
_renderer->render();
popMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_PROJECTION);
@ -329,7 +329,7 @@ void Director::drawScene()
// draw the notifications node
if (_notificationNode)
{
_notificationNode->visit(_renderer, Mat4::IDENTITY, false);
_notificationNode->visit(_renderer, Mat4::IDENTITY, 0);
}
if (_displayStats)