mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
opengl32.dll is the default gldriver on Windows
This commit is contained in:
parent
27de5f3a6f
commit
6b7bc06074
1 changed files with 6 additions and 0 deletions
|
@ -985,7 +985,13 @@ R_Register ( void )
|
|||
gl_polyblend = ri.Cvar_Get( "gl_polyblend", "1", 0 );
|
||||
gl_flashblend = ri.Cvar_Get( "gl_flashblend", "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 );
|
||||
#endif
|
||||
|
||||
gl_texturemode = ri.Cvar_Get( "gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE );
|
||||
gl_texturealphamode = ri.Cvar_Get( "gl_texturealphamode", "default", CVAR_ARCHIVE );
|
||||
gl_texturesolidmode = ri.Cvar_Get( "gl_texturesolidmode", "default", CVAR_ARCHIVE );
|
||||
|
|
Loading…
Reference in a new issue