mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
videomenu: minor tweak regarding the aniso filtering option.
This commit is contained in:
parent
092e7e1888
commit
9be6a7ec46
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue