fixed glInfo/glConfig getting messed up when minimizing

This commit is contained in:
myT 2018-01-06 23:58:30 +01:00
parent 6280b22358
commit 95e7407688

View file

@ -273,7 +273,8 @@ LRESULT CALLBACK MainWndProc (
break;
case WM_SIZE:
WIN_UpdateResolution( (int)LOWORD(lParam), (int)HIWORD(lParam) );
if ( wParam != SIZE_MINIMIZED )
WIN_UpdateResolution( (int)LOWORD(lParam), (int)HIWORD(lParam) );
break;
case WM_SYSCOMMAND: