diff --git a/engine/gl/gl_vidnt.c b/engine/gl/gl_vidnt.c index d85487e84..3d8fa9fac 100644 --- a/engine/gl/gl_vidnt.c +++ b/engine/gl/gl_vidnt.c @@ -1109,8 +1109,11 @@ 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; + + gl_2dscale.modified = true; } break;