diff options
author | Tim Angus <tim@ngus.net> | 2016-04-07 11:58:19 +0100 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:58:19 +0100 |
commit | 87abdd914988724e164ffb16380ad26be8420b84 (patch) | |
tree | 5395a525fe8803afd0196e1f9115d74c522db4fb /src/renderergl2 | |
parent | 5658bc638f194fd6be9593860b6faf16baea8190 (diff) |
Make it compile
Diffstat (limited to 'src/renderergl2')
-rw-r--r-- | src/renderergl2/tr_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_image.c b/src/renderergl2/tr_image.c index 7e2d452e..331e7f61 100644 --- a/src/renderergl2/tr_image.c +++ b/src/renderergl2/tr_image.c @@ -2114,7 +2114,7 @@ done: { if (glConfig.textureFilterAnisotropic && !cubemap) qglTextureParameteri(image->texnum, textureTarget, GL_TEXTURE_MAX_ANISOTROPY_EXT, - (GLint)Com_Clamp(1, maxAnisotropy, r_ext_max_anisotropy->integer)); + (GLint)Com_Clamp(1, glConfig.maxAnisotropy, r_ext_max_anisotropy->integer)); qglTextureParameterf(image->texnum, textureTarget, GL_TEXTURE_MIN_FILTER, gl_filter_min); qglTextureParameterf(image->texnum, textureTarget, GL_TEXTURE_MAG_FILTER, gl_filter_max); |