mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
c6f426a52b
commit
f67a1e5ce4
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue