Mesa (master): glx: Fix copy/paste bug in glXWaitX and glXWaitGL

Kristian Høgsberg krh at kemper.freedesktop.org
Thu Jul 29 15:50:27 PDT 2010


Module: Mesa
Branch: master
Commit: e3e25dee2019b2c75acadeaf4358cd9a8d93db0b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3e25dee2019b2c75acadeaf4358cd9a8d93db0b

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Thu Jul 29 18:48:51 2010 -0400

glx: Fix copy/paste bug in glXWaitX and glXWaitGL

https://bugs.freedesktop.org/show_bug.cgi?id=29304

---

 src/glx/glxcmds.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 7513ebd..d4aa8b5 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -479,7 +479,7 @@ glXWaitGL(void)
 {
    struct glx_context *gc = __glXGetCurrentContext();
 
-   if (gc && gc->vtable->use_x_font)
+   if (gc && gc->vtable->wait_gl)
       gc->vtable->wait_gl(gc);
 }
 
@@ -492,7 +492,7 @@ glXWaitX(void)
 {
    struct glx_context *gc = __glXGetCurrentContext();
 
-   if (gc && gc->vtable->use_x_font)
+   if (gc && gc->vtable->wait_x)
       gc->vtable->wait_x(gc);
 }
 



More information about the mesa-commit mailing list