Anisotropic Filtering take 2

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1656 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2005-12-01 15:52:36 +00:00
parent a42d9dac20
commit 79d122b3cf

View file

@ -602,7 +602,7 @@ void GLDraw_Anisotropy_f (void)
if (Cmd_Argc() == 1)
{
Con_Printf("Maximum filtering factor: %d\n",gl_anisotropy_factor_max);
Con_Printf("0 = off, 1 = off, 2 and beyond = on\n");
Con_Printf("0 & 1 = off, 2+ = on\n");
//insert code that detects if user has forced AF through drivers
//because it has no effect if it is forced
@ -618,9 +618,15 @@ void GLDraw_Anisotropy_f (void)
return;
}
if (param > gl_anisotropy_factor_max)
{
Con_Printf("Maximum filtering factor: %d, set to %d, ignoring %d\n",gl_anisotropy_factor_max,gl_anisotropy_factor_max,param);
param = gl_anisotropy_factor_max;
}
gl_anisotropy_factor = param;
Con_Printf("Attempting to set Anisotopic Filtering Factor: %d\n",gl_anisotropy_factor);
Con_Printf("Attempting to set Anisotopic Filtering factor: %d\n",gl_anisotropy_factor);
/* change all the existing max anisotropy settings */
for (glt = gltextures; glt ; glt = glt->next) //redo anisotropic filtering when map is changed