mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +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,8 +76,15 @@ AnisotropicCallback(void *s)
|
||||||
{
|
{
|
||||||
menulist_s *list = (menulist_s *)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));
|
Cvar_SetValue("gl_anisotropic", pow(2, list->curvalue));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
ResetDefaults(void *unused)
|
ResetDefaults(void *unused)
|
||||||
|
|
Loading…
Reference in a new issue