diff options
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 d4aa8b58668..5cd928753fa 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2161,9 +2161,9 @@ __glXWaitForMscOML(Display * dpy, GLXDrawable drawable, { #ifdef GLX_DIRECT_RENDERING __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); -#endif struct glx_screen *psc = pdraw ? pdraw->psc : NULL; int ret; +#endif /* The OML_sync_control spec says these should "generate a GLX_BAD_VALUE @@ -2193,9 +2193,9 @@ __glXWaitForSbcOML(Display * dpy, GLXDrawable drawable, { #ifdef GLX_DIRECT_RENDERING __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); -#endif struct glx_screen *psc = pdraw ? pdraw->psc : NULL; int ret; +#endif /* The OML_sync_control spec says this should "generate a GLX_BAD_VALUE * error", but the return type in the spec is Bool. |