- made linear scaling more user controlled

This commit is contained in:
Rachael Alexanderson 2019-12-31 10:26:23 -05:00
commit 903f448461
2 changed files with 20 additions and 20 deletions

View file

@ -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());