summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-25 15:52:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-25 20:42:01 -0400
commit3d881752bf64990edcb222f07f9920c55d587d3f (patch)
tree07e2e12c0514e25929d33d536688883bb358d6d2
parent1b93108d10fe4d129714ba8f5643b0a0f0912cff (diff)
downloadgtk+-3d881752bf64990edcb222f07f9920c55d587d3f.tar.gz
gl: Make debug spew more complete
List GL_EXT_unpack_subimage among the extensions we check for.
-rw-r--r--gdk/gdkglcontext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 7f544dc003..7a7ed9d96f 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -1067,6 +1067,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
" - GL_ARB_texture_non_power_of_two: %s\n"
" - GL_ARB_texture_rectangle: %s\n"
" - GL_KHR_debug: %s\n"
+ " - GL_EXT_unpack_subimage: %s\n"
"* Using texture rectangle: %s",
priv->use_es ? "OpenGL ES" : "OpenGL",
priv->gl_version / 10, priv->gl_version % 10,
@@ -1075,6 +1076,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
has_npot ? "yes" : "no",
has_texture_rectangle ? "yes" : "no",
priv->has_khr_debug ? "yes" : "no",
+ priv->has_unpack_subimage ? "yes" : "no",
priv->use_texture_rectangle ? "yes" : "no"));
priv->extensions_checked = TRUE;