Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'overlay_gl')
-rw-r--r--overlay_gl/overlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay_gl/overlay.c b/overlay_gl/overlay.c
index 91a5d10f7..5041f64a3 100644
--- a/overlay_gl/overlay.c
+++ b/overlay_gl/overlay.c
@@ -328,9 +328,11 @@ void glXSwapBuffers(Display * dpy, GLXDrawable draw)
}
if (!c) {
+ ods("Current context is: %p", ctx);
int attrib[4] = { GLX_FBCONFIG_ID, -1, 0, 0 };
glXQueryContext(dpy, ctx, GLX_FBCONFIG_ID, &attrib[1]);
+
int screen = -1;
glXQueryContext(dpy, ctx, GLX_SCREEN, &screen);