From 4fe170410da523b319922ede96f8ad7269ea1383 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 27 Jan 2005 20:45:24 +0000 Subject: [PATCH] gl_2dscale removal for windows git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@837 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidnt.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/engine/gl/gl_vidnt.c b/engine/gl/gl_vidnt.c index c4fe63432..a542603ff 100644 --- a/engine/gl/gl_vidnt.c +++ b/engine/gl/gl_vidnt.c @@ -42,7 +42,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #endif - +extern cvar_t vid_conwidth; #define WINDOW_CLASS_NAME "WinQuake" @@ -89,8 +89,6 @@ extern #endif qboolean vid_initializing; -extern cvar_t gl_2dscale; - qboolean VID_AttachGL (rendererstate_t *info); int DIBWidth, DIBHeight; @@ -369,7 +367,7 @@ qboolean VID_SetWindowedMode (rendererstate_t *info) else { vid.conwidth = 640; - gl_2dscale.modified = true; + vid_conwidth.modified = true; //make it reapplied } vid.conwidth &= 0xfff8; // make it a multiple of eight @@ -1200,7 +1198,7 @@ LONG WINAPI GLMainWndProc ( 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; + vid_conwidth.modified = true; //make it reapplied } } break;