fix renderer switch with gl_texture_anisotropic_filtering callback

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2314 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-06-04 03:55:51 +00:00
parent c6f426a52b
commit f67a1e5ce4

View file

@ -579,6 +579,9 @@ void GL_Texture_Anisotropic_Filtering_Callback (struct cvar_s *var, char *oldval
gltexture_t *glt;
int anfactor;
if (qrenderer != QR_OPENGL)
return;
gl_anisotropy_factor = 0;
if (gl_config.ext_texture_filter_anisotropic < 2)