ref: gl: trust the GL_EXTENSIONS string on psvita

This commit is contained in:
fgsfds 2023-02-17 23:46:38 +01:00 committed by Alibek Omarov
parent 6304b51f32
commit 34dd52ca90

View File

@ -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