mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-04-20 09:55:38 +00:00
add comment on menu canvas change
This commit is contained in:
parent
55080e0e11
commit
36bb9f835b
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ void GL_SetCanvas (canvastype newcanvas)
|
|||
glViewport (glx, gly, glwidth, glheight);
|
||||
break;
|
||||
case CANVAS_MENU:
|
||||
s = q_min((float)glwidth / 640.0, (float)glheight / 200.0);
|
||||
s = q_min((float)glwidth / 640.0, (float)glheight / 200.0); // ericw -- doubled width to 640 to accommodate long keybindings
|
||||
s = CLAMP (1.0, scr_menuscale.value, s);
|
||||
glOrtho (0, 640, 200, 0, -99999, 99999);
|
||||
glViewport (glx + (glwidth - 320*s) / 2, gly + (glheight - 200*s) / 2, 640*s, 200*s);
|
||||
|
|
Loading…
Reference in a new issue