videomenu: minor tweak regarding the aniso filtering option.

This commit is contained in:
svdijk 2014-05-05 18:31:08 +02:00
parent 092e7e1888
commit 9be6a7ec46

View file

@ -76,7 +76,14 @@ AnisotropicCallback(void *s)
{
menulist_s *list = (menulist_s *)s;
if (list->curvalue == 0)
{
Cvar_SetValue("gl_anisotropic", 0);
}
else
{
Cvar_SetValue("gl_anisotropic", pow(2, list->curvalue));
}
}
static void