ref: gl: remove useless calls to glGetString if we're running under GL4ES
This commit is contained in:
parent
5b73a788da
commit
255773b4de
1 changed files with 0 additions and 6 deletions
|
@ -913,13 +913,7 @@ void GL_InitExtensionsBigGL( void )
|
||||||
|
|
||||||
// gl4es may be used system-wide
|
// gl4es may be used system-wide
|
||||||
if( Q_stristr( glConfig.renderer_string, "gl4es" ))
|
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;
|
glConfig.wrapper = GLES_WRAPPER_GL4ES;
|
||||||
}
|
|
||||||
|
|
||||||
// multitexture
|
// multitexture
|
||||||
glConfig.max_texture_units = glConfig.max_texture_coords = glConfig.max_teximage_units = 1;
|
glConfig.max_texture_units = glConfig.max_texture_coords = glConfig.max_teximage_units = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue