From d89c1944ffad15cf0265b14c27fef7c4ff474d60 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 3 Oct 2004 09:46:00 +0000 Subject: [PATCH] fixing gl_2dscale bugs. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@287 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidnt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/gl/gl_vidnt.c b/engine/gl/gl_vidnt.c index f701bdb81..9197c6a85 100644 --- a/engine/gl/gl_vidnt.c +++ b/engine/gl/gl_vidnt.c @@ -665,8 +665,6 @@ void VID_UpdateWindowStatus (void) window_center_y = (window_rect.top + window_rect.bottom) / 2; IN_UpdateClipCursor (); - - gl_2dscale.modified = true; } @@ -981,7 +979,6 @@ void GLAppActivate(BOOL fActive, BOOL minimize) // Fix for alt-tab bug in NVidia drivers 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)) { @@ -1120,7 +1117,10 @@ LONG WINAPI GLMainWndProc ( WindowRect.right = ((short*)&lParam)[0] - WindowRect.left; 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;