mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +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);
|
MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL);
|
||||||
|
|
||||||
if (getrendermode() != REND_CLASSIC)
|
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)
|
for (i = (int32_t) ARRAY_SIZE(MEOSV_DISPLAYSETUP_ANISOTROPY) - 1; i >= 0; --i)
|
||||||
{
|
{
|
||||||
if (MEOSV_DISPLAYSETUP_ANISOTROPY[i] <= glinfo.maxanisotropy)
|
if (MEOSV_DISPLAYSETUP_ANISOTROPY[i] <= glinfo.maxanisotropy)
|
||||||
|
@ -1454,6 +1457,7 @@ static void M_PreMenu(MenuID_t cm)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_RENDERERSETUP:
|
case MENU_RENDERERSETUP:
|
||||||
|
|
Loading…
Reference in a new issue