diff options
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/overlay.c | 2 |
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); |