opengl32.dll is the default gldriver on Windows

This commit is contained in:
Yamagi Burmeister 2012-06-04 13:13:14 +02:00
parent 27de5f3a6f
commit 6b7bc06074

View file

@ -985,7 +985,13 @@ R_Register ( void )
gl_polyblend = ri.Cvar_Get( "gl_polyblend", "1", 0 ); gl_polyblend = ri.Cvar_Get( "gl_polyblend", "1", 0 );
gl_flashblend = ri.Cvar_Get( "gl_flashblend", "0", 0 ); gl_flashblend = ri.Cvar_Get( "gl_flashblend", "0", 0 );
gl_playermip = ri.Cvar_Get( "gl_playermip", "0", 0 ); gl_playermip = ri.Cvar_Get( "gl_playermip", "0", 0 );
#ifdef _WIN32
gl_driver = ri.Cvar_Get( "gl_driver", "opengl32.dll", CVAR_ARCHIVE );
#else
gl_driver = ri.Cvar_Get( "gl_driver", "libGL.so.1", CVAR_ARCHIVE ); gl_driver = ri.Cvar_Get( "gl_driver", "libGL.so.1", CVAR_ARCHIVE );
#endif
gl_texturemode = ri.Cvar_Get( "gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE ); gl_texturemode = ri.Cvar_Get( "gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE );
gl_texturealphamode = ri.Cvar_Get( "gl_texturealphamode", "default", CVAR_ARCHIVE ); gl_texturealphamode = ri.Cvar_Get( "gl_texturealphamode", "default", CVAR_ARCHIVE );
gl_texturesolidmode = ri.Cvar_Get( "gl_texturesolidmode", "default", CVAR_ARCHIVE ); gl_texturesolidmode = ri.Cvar_Get( "gl_texturesolidmode", "default", CVAR_ARCHIVE );