diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-30 14:32:56 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-30 14:32:56 +0000 |
commit | b27fc8e5d87eb934a1ac50f2fae03ec19885f581 (patch) | |
tree | 09844ce201d477fb4f1e501b6c4b62a76607463c /code/win32 | |
parent | 4b4572ff69c7c54f38186d344d37b28f25d47d01 (diff) | |
download | ioquake3-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/win32')
-rw-r--r-- | code/win32/win_glimp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/code/win32/win_glimp.c b/code/win32/win_glimp.c index f9b1289..460d868 100644 --- a/code/win32/win_glimp.c +++ b/code/win32/win_glimp.c @@ -1112,19 +1112,19 @@ static void GLW_InitExtensions( void ) ri.Printf( PRINT_ALL, "...WGL_3DFX_gamma_control not found\n" ); } - glConfig.textureFilterAnisotropic = qfalse; + textureFilterAnisotropic = qfalse; if ( strstr( glConfig.extensions_string, "GL_EXT_texture_filter_anisotropic" ) ) { if ( r_ext_texture_filter_anisotropic->integer ) { - qglGetIntegerv( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &glConfig.maxAnisotropy ); - if ( glConfig.maxAnisotropy <= 0 ) { + qglGetIntegerv( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maxAnisotropy ); + if ( maxAnisotropy <= 0 ) { ri.Printf( PRINT_ALL, "...GL_EXT_texture_filter_anisotropic not properly supported!\n" ); - glConfig.maxAnisotropy = 0; + maxAnisotropy = 0; } else { - ri.Printf( PRINT_ALL, "...using GL_EXT_texture_filter_anisotropic (max: %i)\n", glConfig.maxAnisotropy ); - glConfig.textureFilterAnisotropic = qtrue; + ri.Printf( PRINT_ALL, "...using GL_EXT_texture_filter_anisotropic (max: %i)\n", maxAnisotropy ); + textureFilterAnisotropic = qtrue; } } else |