diff --git a/api/windows_opengl.cpp b/api/windows_opengl.cpp index c15a75a19e..05ad22904d 100755 --- a/api/windows_opengl.cpp +++ b/api/windows_opengl.cpp @@ -166,6 +166,7 @@ LRESULT CALLBACK WndProc( HWND hWnd, // Handle For This Window EndPaint(hWnd, &ps); return 0; case WM_TIMER: + if(nMode == MODE_NO_GRAPHICS) return 0; HDC hdc = GetDC(hWnd); HGLRC hRC;