gl_2dscale removal for windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@837 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cf69910a6b
commit
4fe170410d
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue