aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer/tr_image.c
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-30 14:32:56 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-30 14:32:56 +0000
commitb27fc8e5d87eb934a1ac50f2fae03ec19885f581 (patch)
tree09844ce201d477fb4f1e501b6c4b62a76607463c /code/renderer/tr_image.c
parent4b4572ff69c7c54f38186d344d37b28f25d47d01 (diff)
downloadioquake3-aero-b27fc8e5d87eb934a1ac50f2fae03ec19885f581.tar.gz
ioquake3-aero-b27fc8e5d87eb934a1ac50f2fae03ec19885f581.zip
- Fixed incompatibility to original VMs introduced by anisotropic filtering patch.
- Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1 git-svn-id: svn://svn.icculus.org/quake3/trunk@734 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer/tr_image.c')
-rw-r--r--code/renderer/tr_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/renderer/tr_image.c b/code/renderer/tr_image.c
index 88d0ec2..d97a42a 100644
--- a/code/renderer/tr_image.c
+++ b/code/renderer/tr_image.c
@@ -699,16 +699,16 @@ done:
if (mipmap)
{
- if ( glConfig.textureFilterAnisotropic )
+ if ( textureFilterAnisotropic )
qglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
- (GLint)Com_Clamp( 1, glConfig.maxAnisotropy, r_ext_max_anisotropy->integer ) );
+ (GLint)Com_Clamp( 1, maxAnisotropy, r_ext_max_anisotropy->integer ) );
qglTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, gl_filter_min);
qglTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, gl_filter_max);
}
else
{
- if ( glConfig.textureFilterAnisotropic )
+ if ( textureFilterAnisotropic )
qglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 1 );
qglTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );