mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 19:30:08 +01:00
ref_gl: Fix missing DebugOutput functions on GLES
This commit is contained in:
parent
38548d31ff
commit
f1a8efdf17
@ -859,7 +859,9 @@ void GL_InitExtensionsGLES( void )
|
||||
#endif
|
||||
case GL_DEBUG_OUTPUT:
|
||||
if( glw_state.extended )
|
||||
GL_CheckExtension( "GL_KHR_debug", NULL, NULL, extid, 0 );
|
||||
GL_CheckExtension( "GL_KHR_debug", debugoutputfuncs, "gl_debug_output", extid, 0 );
|
||||
else
|
||||
GL_SetExtension( extid, false );
|
||||
break;
|
||||
// case GL_TEXTURE_COMPRESSION_EXT: NOPE
|
||||
// case GL_SHADER_GLSL100_EXT: NOPE
|
||||
@ -1123,6 +1125,7 @@ void GL_InitExtensions( void )
|
||||
|
||||
// force everything to happen in the main thread instead of in a separate driver thread
|
||||
pglEnable( GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB );
|
||||
|
||||
}
|
||||
|
||||
// enable all the low priority messages
|
||||
|
Loading…
Reference in New Issue
Block a user