OpenGL2: Disable GL_ARB_seamless_cube_map by default, caused huge frame drops on some hardware

This commit is contained in:
SmileTheory 2013-09-20 17:20:36 -07:00
parent fcaab903d1
commit 82be4e667f
3 changed files with 7 additions and 2 deletions

View file

@ -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
{