diff --git a/cocos/platform/win32/CCApplication-win32.cpp b/cocos/platform/win32/CCApplication-win32.cpp index 0bb95e6420..8910012563 100644 --- a/cocos/platform/win32/CCApplication-win32.cpp +++ b/cocos/platform/win32/CCApplication-win32.cpp @@ -63,11 +63,9 @@ int Application::run() PVRFrameEnableControlWindow(false); // Main message loop: - LARGE_INTEGER nFreq; LARGE_INTEGER nLast; LARGE_INTEGER nNow; - QueryPerformanceFrequency(&nFreq); QueryPerformanceCounter(&nLast); initGLContextAttrs();