From 4cf1fd133c32069724dac2d0f2c1bccec3a0758b Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Mon, 10 Mar 2003 23:20:39 +0000 Subject: [PATCH] won't draw when window hidden svn path=/trunk/boinc/; revision=1044 --- api/windows_opengl.cpp | 1 + 1 file changed, 1 insertion(+) 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;