Default the various scale variables to "-1" (automatic)

This commit is contained in:
svdijk 2015-11-08 12:48:27 +01:00
parent 64d4e8e619
commit 0cdf927d3e
2 changed files with 4 additions and 4 deletions

View file

@ -435,8 +435,8 @@ SCR_Init(void)
scr_graphshift = Cvar_Get("graphshift", "0", 0); scr_graphshift = Cvar_Get("graphshift", "0", 0);
scr_drawall = Cvar_Get("scr_drawall", "0", 0); scr_drawall = Cvar_Get("scr_drawall", "0", 0);
gl_hudscale = Cvar_Get("gl_hudscale", "-1", CVAR_ARCHIVE); gl_hudscale = Cvar_Get("gl_hudscale", "-1", CVAR_ARCHIVE);
gl_consolescale = Cvar_Get("gl_consolescale", "1", CVAR_ARCHIVE); gl_consolescale = Cvar_Get("gl_consolescale", "-1", CVAR_ARCHIVE);
gl_menuscale = Cvar_Get("gl_menuscale", "1", CVAR_ARCHIVE); gl_menuscale = Cvar_Get("gl_menuscale", "-1", CVAR_ARCHIVE);
/* register our commands */ /* register our commands */
Cmd_AddCommand("timerefresh", SCR_TimeRefresh_f); Cmd_AddCommand("timerefresh", SCR_TimeRefresh_f);

View file

@ -312,11 +312,11 @@ VID_MenuInit(void)
} }
if (!gl_consolescale) if (!gl_consolescale)
{ {
gl_consolescale = Cvar_Get("gl_consolescale", "1", CVAR_ARCHIVE); gl_consolescale = Cvar_Get("gl_consolescale", "-1", CVAR_ARCHIVE);
} }
if (!gl_menuscale) if (!gl_menuscale)
{ {
gl_menuscale = Cvar_Get("gl_menuscale", "1", CVAR_ARCHIVE); gl_menuscale = Cvar_Get("gl_menuscale", "-1", CVAR_ARCHIVE);
} }
if (!horplus) if (!horplus)