summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-10 17:30:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-10 17:30:28 -0400
commit1e9a9876d52324cc1a5ec4b20b172c0c6f52fe78 (patch)
treeae432dbe9ece4fd538dcdad807ac40d86e4400c5
parent1de7440c8c35ad07fddff8d6a3156ab817a640e6 (diff)
downloadgtk+-1e9a9876d52324cc1a5ec4b20b172c0c6f52fe78.tar.gz
x11: Print all tested glx extensions
When initializing a glx context, print all the extensions we look for.
-rw-r--r--gdk/x11/gdkglcontext-x11.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index 2dbba08e62..ec0bb2f454 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -1060,7 +1060,9 @@ gdk_x11_screen_init_gl (GdkX11Screen *screen)
"\t* GLX_EXT_texture_from_pixmap: %s\n"
"\t* GLX_SGI_video_sync: %s\n"
"\t* GLX_EXT_buffer_age: %s\n"
- "\t* GLX_OML_sync_control: %s",
+ "\t* GLX_OML_sync_control: %s"
+ "\t* GLX_ARB_multisample: %s"
+ "\t* GLX_EXT_visual_rating: %s",
display_x11->glx_version / 10,
display_x11->glx_version % 10,
glXGetClientString (dpy, GLX_VENDOR),
@@ -1070,7 +1072,9 @@ gdk_x11_screen_init_gl (GdkX11Screen *screen)
display_x11->has_glx_texture_from_pixmap ? "yes" : "no",
display_x11->has_glx_video_sync ? "yes" : "no",
display_x11->has_glx_buffer_age ? "yes" : "no",
- display_x11->has_glx_sync_control ? "yes" : "no"));
+ display_x11->has_glx_sync_control ? "yes" : "no",
+ display_x11->has_glx_multisample ? "yes" : "no",
+ display_x11->has_glx_visual_rating ? "yes" : "no"));
return TRUE;
}