diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-09-20 17:20:36 -0700 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:34 +0100 |
commit | d941d27dfddb30cb6ac4f10fec3124d04bcc11e2 (patch) | |
tree | ca8edadf44659e35486a232c4bb2273c81bf5474 /src/renderergl2/tr_extensions.c | |
parent | 7c5db0d00adcdf4c8c0db676d4fbc1070293ebb5 (diff) |
OpenGL2: Disable GL_ARB_seamless_cube_map by default, caused huge frame drops on some hardware
Diffstat (limited to 'src/renderergl2/tr_extensions.c')
-rw-r--r-- | src/renderergl2/tr_extensions.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderergl2/tr_extensions.c b/src/renderergl2/tr_extensions.c index 03b5e23d..4e030965 100644 --- a/src/renderergl2/tr_extensions.c +++ b/src/renderergl2/tr_extensions.c @@ -701,8 +701,10 @@ void GLimp_InitExtraExtensions() glRefConfig.seamlessCubeMap = qfalse; if( GLimp_HaveExtension( extension ) ) { - glRefConfig.seamlessCubeMap = qtrue; - ri.Printf(PRINT_ALL, result[1], extension); + if (r_arb_seamless_cube_map->integer) + glRefConfig.seamlessCubeMap = qtrue; + + ri.Printf(PRINT_ALL, result[glRefConfig.seamlessCubeMap], extension); } else { |