menus.cpp: Allow setting anisotropy when not in Polymost regardless of whether r_useindexedcolortextures is set

git-svn-id: https://svn.eduke32.com/eduke32@6786 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-03-22 07:13:33 +00:00
parent c1d7d1bfe0
commit b61ade4b66

View file

@ -1945,8 +1945,8 @@ static void Menu_Pre(MenuID_t cm)
if (getrendermode() != REND_CLASSIC)
{
//POGOTODO: allow setting anisotropy again while r_useindexedcolortextures is set when support is added down the line
// don't allow setting anisotropy while r_useindexedcolortextures is enabled
MenuEntry_DisableOnCondition(&ME_DISPLAYSETUP_ANISOTROPY, r_useindexedcolortextures);
// don't allow setting anisotropy while in POLYMOST and r_useindexedcolortextures is enabled
MenuEntry_DisableOnCondition(&ME_DISPLAYSETUP_ANISOTROPY, getrendermode() == REND_POLYMOST && r_useindexedcolortextures);
for (i = (int32_t) ARRAY_SIZE(MEOSV_DISPLAYSETUP_ANISOTROPY) - 1; i >= 0; --i)
{