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
1 changed files with 2 additions and 1 deletions

View File

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