summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-29 18:48:51 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-07-29 18:49:10 -0400
commite3e25dee2019b2c75acadeaf4358cd9a8d93db0b (patch)
treecf661cd6f5f32a113df82f047c895c4013d9b6e5
parentf485ee724d1f1bb57a5c8931f28e7a45ceb5b5d5 (diff)
glx: Fix copy/paste bug in glXWaitX and glXWaitGL
https://bugs.freedesktop.org/show_bug.cgi?id=29304
-rw-r--r--src/glx/glxcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 7513ebd19e..d4aa8b5866 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);
}