projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd7f5a
)
GdkGLContext: check for GL_KHR_debug for GL debug output
author
Timm Bäder
<mail@baedert.org>
Tue, 17 Dec 2019 08:06:15 +0000
(09:06 +0100)
committer
Timm Bäder
<mail@baedert.org>
Tue, 7 Jan 2020 16:27:16 +0000
(17:27 +0100)
This is available in GLES.
gdk/gdkglcontext.c
patch
|
blob
|
history
diff --git
a/gdk/gdkglcontext.c
b/gdk/gdkglcontext.c
index 9f3ea5d93872d9382e220006ac33cee48a2e5071..ddf9cd3f955e80dbf0a519809ffb5255405306a1 100644
(file)
--- a/
gdk/gdkglcontext.c
+++ b/
gdk/gdkglcontext.c
@@
-955,7
+955,8
@@
gdk_gl_context_check_extensions (GdkGLContext *context)
if (priv->use_es < 0)
priv->use_es = !epoxy_is_desktop_gl ();
- priv->has_debug_output = epoxy_has_gl_extension ("GL_ARB_debug_output");
+ priv->has_debug_output = epoxy_has_gl_extension ("GL_ARB_debug_output") ||
+ epoxy_has_gl_extension ("GL_KHR_debug");
#ifdef G_ENABLE_CONSISTENCY_CHECKS
if (priv->has_debug_output)