mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 21:20:26 +01:00
ref: gl: trust the GL_EXTENSIONS string on psvita
This commit is contained in:
parent
6304b51f32
commit
34dd52ca90
@ -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…
Reference in New Issue
Block a user