mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixed glInfo/glConfig getting messed up when minimizing
This commit is contained in:
parent
6280b22358
commit
95e7407688
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue