summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorPierre Willenbrock <pierre@pirsoft.de>2009-04-19 21:15:22 +0200
committerIan Romanick <ian.d.romanick@intel.com>2009-04-27 13:36:39 -0700
commit40a8f2f4088aa353de733a11327b628ef13a52e6 (patch)
tree421d98d4fb2c4180c56552a3a3877ee20a22a153 /glx
parenta8cf63fd18b0ddadbadf7b47d620159854920050 (diff)
Fix obvious copypasta
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 86e8dd8a5..1ae31515d 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -799,8 +799,8 @@ int __glXDisp_WaitX(__GLXclientState *cl, GLbyte *pc)
return error;
}
- if (glxc && glxc->drawPriv->waitGL)
- (*glxc->drawPriv->waitGL)(glxc->drawPriv);
+ if (glxc && glxc->drawPriv->waitX)
+ (*glxc->drawPriv->waitX)(glxc->drawPriv);
return Success;
}