From: Kristian Høgsberg Date: Thu, 29 Jul 2010 22:48:51 +0000 (-0400) Subject: glx: Fix copy/paste bug in glXWaitX and glXWaitGL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3e25dee2019b2c75acadeaf4358cd9a8d93db0b;p=mesa.git glx: Fix copy/paste bug in glXWaitX and glXWaitGL https://bugs.freedesktop.org/show_bug.cgi?id=29304 --- diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 7513ebd19e4..d4aa8b58668 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); }