fixing gl_2dscale bugs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@287 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-03 09:46:00 +00:00
parent b39a76bd58
commit d89c1944ff

View file

@ -665,8 +665,6 @@ void VID_UpdateWindowStatus (void)
window_center_y = (window_rect.top + window_rect.bottom) / 2; window_center_y = (window_rect.top + window_rect.bottom) / 2;
IN_UpdateClipCursor (); IN_UpdateClipCursor ();
gl_2dscale.modified = true;
} }
@ -981,7 +979,6 @@ void GLAppActivate(BOOL fActive, BOOL minimize)
// Fix for alt-tab bug in NVidia drivers // Fix for alt-tab bug in NVidia drivers
MoveWindow (mainwindow, 0, 0, gdevmode.dmPelsWidth, gdevmode.dmPelsHeight, false); MoveWindow (mainwindow, 0, 0, gdevmode.dmPelsWidth, gdevmode.dmPelsHeight, false);
} }
gl_2dscale.modified = true;
} }
else if ((modestate == MS_WINDOWED) && _windowed_mouse.value && (key_dest == key_game || key_dest == key_menu)) else if ((modestate == MS_WINDOWED) && _windowed_mouse.value && (key_dest == key_game || key_dest == key_menu))
{ {
@ -1120,7 +1117,10 @@ LONG WINAPI GLMainWndProc (
WindowRect.right = ((short*)&lParam)[0] - WindowRect.left; WindowRect.right = ((short*)&lParam)[0] - WindowRect.left;
WindowRect.bottom = ((short*)&lParam)[1] - WindowRect.top; WindowRect.bottom = ((short*)&lParam)[1] - WindowRect.top;
gl_2dscale.modified = true; if (modestate != MS_FULLDIB) //fullscreen doesn't have the RIGHT to respond to this. Apply to the Court of M$ if you want this changed...
{
gl_2dscale.modified = true;
}
} }
break; break;