won't draw when window hidden

svn path=/trunk/boinc/; revision=1044
This commit is contained in:
Eric Heien 2003-03-10 23:20:39 +00:00
parent 93ca2e4458
commit 4cf1fd133c
1 changed files with 1 additions and 0 deletions

View File

@ -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;