mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 09:16:04 +01:00
ref: gl: remove useless calls to glGetString if we're running under GL4ES
This commit is contained in:
parent
5b73a788da
commit
255773b4de
@ -913,13 +913,7 @@ void GL_InitExtensionsBigGL( void )
|
||||
|
||||
// gl4es may be used system-wide
|
||||
if( Q_stristr( glConfig.renderer_string, "gl4es" ))
|
||||
{
|
||||
const char *vendor = (const char *)pglGetString( GL_VENDOR | 0x10000 );
|
||||
const char *renderer = (const char *)pglGetString( GL_RENDERER | 0x10000 );
|
||||
const char *version = (const char *)pglGetString( GL_VERSION | 0x10000 );
|
||||
const char *extensions = (const char *)pglGetString( GL_EXTENSIONS | 0x10000 );
|
||||
glConfig.wrapper = GLES_WRAPPER_GL4ES;
|
||||
}
|
||||
|
||||
// multitexture
|
||||
glConfig.max_texture_units = glConfig.max_texture_coords = glConfig.max_teximage_units = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user