ref: gl: trust the GL_EXTENSIONS string on psvita
This commit is contained in:
parent
6304b51f32
commit
34dd52ca90
1 changed files with 6 additions and 1 deletions
|
@ -370,7 +370,12 @@ qboolean GL_CheckExtension( const char *name, const dllfunc_t *funcs, const char
|
|||
{
|
||||
// functions are cleared before all the extensions are evaluated
|
||||
if((*func->func = (void *)gEngfuncs.GL_GetProcAddress( func->name )) == NULL )
|
||||
GL_SetExtension( r_ext, false ); // one or more functions are invalid, extension will be disabled
|
||||
{
|
||||
#if !XASH_PSVITA // on the vita some exts are implemented partially but that's still enough
|
||||
// one or more functions are invalid, extension will be disabled
|
||||
GL_SetExtension( r_ext, false );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue