This commit is contained in:
yangws 2010-12-31 10:10:22 +08:00
commit aef13e31d9
1 changed files with 2 additions and 5 deletions

View File

@ -225,11 +225,8 @@ Boolean CCXEGLView::EventHandler(TApplication * pApp, EventType * pEvent)
break; break;
case EVENT_WinPaint: case EVENT_WinPaint:
if (CfgGetScreenStatus()) // draw
{ CCDirector::sharedDirector()->preMainLoop();
// draw
CCDirector::sharedDirector()->preMainLoop();
}
bHandled = TRUE; bHandled = TRUE;
break; break;