mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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
This commit is contained in:
parent
d592a4f647
commit
fbda24bd34
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue