Browse Source

ref: gl: trust the GL_EXTENSIONS string on psvita

pull/2/head
fgsfds 2 years ago committed by Alibek Omarov
parent
commit
34dd52ca90
  1. 7
      ref/gl/gl_opengl.c

7
ref/gl/gl_opengl.c

@ -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 // functions are cleared before all the extensions are evaluated
if((*func->func = (void *)gEngfuncs.GL_GetProcAddress( func->name )) == NULL ) 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 #endif

Loading…
Cancel
Save