diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-29 18:48:51 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-29 18:49:10 -0400 |
commit | e3e25dee2019b2c75acadeaf4358cd9a8d93db0b (patch) | |
tree | cf661cd6f5f32a113df82f047c895c4013d9b6e5 /src/glx/glxcmds.c | |
parent | f485ee724d1f1bb57a5c8931f28e7a45ceb5b5d5 (diff) |
glx: Fix copy/paste bug in glXWaitX and glXWaitGL
https://bugs.freedesktop.org/show_bug.cgi?id=29304
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r-- | 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 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); } |