mirror of https://github.com/BOINC/boinc.git
won't draw when window hidden
svn path=/trunk/boinc/; revision=1044
This commit is contained in:
parent
93ca2e4458
commit
4cf1fd133c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue