mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Menus: Fix the Screen Size slider so that it works properly after the screen size has been modified in-game with [-]/[+].
git-svn-id: https://svn.eduke32.com/eduke32@4869 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
aa9f767052
commit
fcbd0737bb
1 changed files with 4 additions and 0 deletions
|
@ -1446,6 +1446,9 @@ static void M_PreMenu(MenuID_t cm)
|
|||
MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL);
|
||||
|
||||
if (getrendermode() != REND_CLASSIC)
|
||||
{
|
||||
vpsize = ud.screen_size + 4*(ud.screen_size>=8 && ud.statusbarmode==0);
|
||||
|
||||
for (i = (int32_t) ARRAY_SIZE(MEOSV_DISPLAYSETUP_ANISOTROPY) - 1; i >= 0; --i)
|
||||
{
|
||||
if (MEOSV_DISPLAYSETUP_ANISOTROPY[i] <= glinfo.maxanisotropy)
|
||||
|
@ -1454,6 +1457,7 @@ static void M_PreMenu(MenuID_t cm)
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case MENU_RENDERERSETUP:
|
||||
|
|
Loading…
Reference in a new issue