Stops a recursive error when the MessageBox function tells us that it's appeared, over and over and over again, causing more MessageBoxes... Grr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1647 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3931528beb
commit
77474af3b2
1 changed files with 6 additions and 0 deletions
|
@ -1292,6 +1292,12 @@ LONG WINAPI GLMainWndProc (
|
|||
break;
|
||||
|
||||
case WM_ACTIVATE:
|
||||
if (fActive == LOWORD(wParam))
|
||||
if (fMinimized == (BOOL) HIWORD(wParam))
|
||||
//so, urm, tell me microsoft, what changed?
|
||||
break;
|
||||
|
||||
|
||||
fActive = LOWORD(wParam);
|
||||
fMinimized = (BOOL) HIWORD(wParam);
|
||||
GLAppActivate(!(fActive == WA_INACTIVE), fMinimized);
|
||||
|
|
Loading…
Reference in a new issue