ref_gl: Fix missing DebugOutput functions on GLES
This commit is contained in:
parent
96a9172e36
commit
a982562658
1 changed files with 4 additions and 1 deletions
|
@ -859,7 +859,9 @@ void GL_InitExtensionsGLES( void )
|
||||||
#endif
|
#endif
|
||||||
case GL_DEBUG_OUTPUT:
|
case GL_DEBUG_OUTPUT:
|
||||||
if( glw_state.extended )
|
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;
|
break;
|
||||||
// case GL_TEXTURE_COMPRESSION_EXT: NOPE
|
// case GL_TEXTURE_COMPRESSION_EXT: NOPE
|
||||||
// case GL_SHADER_GLSL100_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
|
// force everything to happen in the main thread instead of in a separate driver thread
|
||||||
pglEnable( GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB );
|
pglEnable( GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// enable all the low priority messages
|
// enable all the low priority messages
|
||||||
|
|
Loading…
Add table
Reference in a new issue