From b7d788a2f99d5432b4a711081202693551975d84 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Thu, 29 Aug 2013 13:48:58 +0800 Subject: [PATCH] issue #2460: remove comment code --- cocos2dx/platform/win32/CCApplication.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cocos2dx/platform/win32/CCApplication.cpp b/cocos2dx/platform/win32/CCApplication.cpp index e48cb527d6..80c639134f 100644 --- a/cocos2dx/platform/win32/CCApplication.cpp +++ b/cocos2dx/platform/win32/CCApplication.cpp @@ -50,8 +50,7 @@ int Application::run() } EGLView* pMainWnd = EGLView::getInstance(); - //pMainWnd->centerWindow(); - //ShowWindow(pMainWnd->getHWnd(), SW_SHOW); + while(!pMainWnd->windowShouldClose()) { QueryPerformanceCounter(&nNow); @@ -65,7 +64,6 @@ int Application::run() { Sleep(0); } - } return true;