From fbda24bd34c16864bc285a5c2b2cb6c1b53f242d Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 30 Sep 2004 22:47:02 +0000 Subject: [PATCH] trying to fix the whole gl_2dscale stuff. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@270 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidnt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/gl/gl_vidnt.c b/engine/gl/gl_vidnt.c index b241f09a8..71e2480e7 100644 --- a/engine/gl/gl_vidnt.c +++ b/engine/gl/gl_vidnt.c @@ -95,7 +95,7 @@ extern #endif qboolean vid_initializing; - +extern cvar_t gl_2dscale; qboolean VID_AttachGL (rendererstate_t *info); @@ -362,7 +362,6 @@ qboolean VID_SetWindowedMode (rendererstate_t *info) vid.conwidth = Q_atoi(com_argv[i+1]); else { - extern cvar_t gl_2dscale; vid.conwidth = 640; gl_2dscale.modified = true; } @@ -666,6 +665,8 @@ void VID_UpdateWindowStatus (void) window_center_y = (window_rect.top + window_rect.bottom) / 2; IN_UpdateClipCursor (); + + gl_2dscale.modified = true; } @@ -1109,7 +1110,6 @@ LONG WINAPI GLMainWndProc ( case WM_SIZE: if (!vid_initializing) { - extern cvar_t gl_2dscale; WindowRect.right = ((short*)&lParam)[0] - WindowRect.left; WindowRect.bottom = ((short*)&lParam)[1] - WindowRect.top;