summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-29 18:48:51 -0400
committerKristian Høgsberg <[email protected]>2010-07-29 18:49:10 -0400
commite3e25dee2019b2c75acadeaf4358cd9a8d93db0b (patch)
treecf661cd6f5f32a113df82f047c895c4013d9b6e5 /src
parentf485ee724d1f1bb57a5c8931f28e7a45ceb5b5d5 (diff)
glx: Fix copy/paste bug in glXWaitX and glXWaitGL
https://bugs.freedesktop.org/show_bug.cgi?id=29304
Diffstat (limited to 'src')
-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 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);
}