- made linear scaling more user controlled
This commit is contained in:
parent
99ef731fd3
commit
903f448461
2 changed files with 20 additions and 20 deletions
|
|
@ -44,7 +44,6 @@ CVAR(Int, menu_resolution_custom_height, 480, 0)
|
|||
|
||||
EXTERN_CVAR(Bool, fullscreen)
|
||||
EXTERN_CVAR(Bool, win_maximized)
|
||||
EXTERN_CVAR(Bool, vid_scale_customlinear)
|
||||
EXTERN_CVAR(Float, vid_scale_custompixelaspect)
|
||||
EXTERN_CVAR(Int, vid_scale_customwidth)
|
||||
EXTERN_CVAR(Int, vid_scale_customheight)
|
||||
|
|
@ -75,7 +74,7 @@ CCMD (menu_resolution_commit_changes)
|
|||
|
||||
if (do_fullscreen == false)
|
||||
{
|
||||
vid_scalemode = vid_scale_customlinear;
|
||||
vid_scalemode = 0;
|
||||
vid_scalefactor = 1.;
|
||||
screen->SetWindowSize(menu_resolution_custom_width, menu_resolution_custom_height);
|
||||
V_OutputResized(screen->GetClientWidth(), screen->GetClientHeight());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue