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:
authorThorvald Natvig <slicer@users.sourceforge.net>2007-07-16 02:02:47 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2007-07-16 02:02:47 +0400
commitd469c74162d13a32b6e8b1d2d692ddbdba22b658 (patch)
tree5a2d40f76af79d3d9816a15e673d6548a366ea09 /overlay_gl
parent81d3d1d8f673d1f8245f2032362d5037cc995955 (diff)
Overlay debugging
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@605 05730e5d-ab1b-0410-a4ac-84af385074fa
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);