mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
conheight proved to be eaiser than expected (d'oh, don't know why I couldn't see the obvious)
This commit is contained in:
parent
a5f0fbc821
commit
bf04589510
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ VID_GetWindowSize (int def_w, int def_h)
|
||||||
Cvar_SetFlags (con_width, con_width->flags | CVAR_ROM);
|
Cvar_SetFlags (con_width, con_width->flags | CVAR_ROM);
|
||||||
vid.conwidth = con_width->int_val;
|
vid.conwidth = con_width->int_val;
|
||||||
|
|
||||||
conheight = (vid.conwidth * 3) / 4;
|
conheight = (vid.conwidth * vid_aspect->vec[1]) / vid_aspect->vec[0];
|
||||||
con_height = Cvar_Get ("con_height", va ("%d", conheight), CVAR_NONE, NULL,
|
con_height = Cvar_Get ("con_height", va ("%d", conheight), CVAR_NONE, NULL,
|
||||||
"console effective height (GL only)");
|
"console effective height (GL only)");
|
||||||
if ((pnum = COM_CheckParm ("-conheight"))) {
|
if ((pnum = COM_CheckParm ("-conheight"))) {
|
||||||
|
|
Loading…
Reference in a new issue