diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-16 16:15:51 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-16 16:15:51 +0400 |
commit | e083364f685ce13c635616a7cfd9281ca1de97e5 (patch) | |
tree | e7deb79e8182520d3599cd67501a36ae90a381ab /overlay_gl | |
parent | aa7b85acd1e2f981114248f6a5268e4add8d7cc1 (diff) |
overlay debug fixup
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@609 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/overlay.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/overlay_gl/overlay.c b/overlay_gl/overlay.c index 5041f64a3..56bb5c4b5 100644 --- a/overlay_gl/overlay.c +++ b/overlay_gl/overlay.c @@ -113,11 +113,11 @@ static void resolveSM() __attribute__ ((format(printf, 1, 2))) void ods(const char *format, ...) { - if (sm) { - if (!sm->bDebug) - return; - } else if (!bDebug) { - return; + if (!bDebug) { + if (sm) { + if (!sm->bDebug) + return; + } } va_list args; @@ -332,7 +332,7 @@ void glXSwapBuffers(Display * dpy, GLXDrawable draw) 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); |