diff options
author | idr <idr> | 2004-06-02 20:47:00 +0000 |
---|---|---|
committer | idr <idr> | 2004-06-02 20:47:00 +0000 |
commit | 7cec50b6cdc5c1864b443884a67132c9dcbdf825 (patch) | |
tree | f52498c753e36a33b2f2d9260f248e364379a39a | |
parent | 115c18ca7870a8900c916bf9402b70aea99b865a (diff) |
Replace Bool with GLboolean. This is only needed for the functions
that are called directly by DRI drivers.
-rw-r--r-- | xc/lib/GL/glx/XF86dri.c | 6 | ||||
-rw-r--r-- | xc/lib/GL/glx/xf86dri.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/xc/lib/GL/glx/XF86dri.c b/xc/lib/GL/glx/XF86dri.c index 2e2e26cd0..cccc38050 100644 --- a/xc/lib/GL/glx/XF86dri.c +++ b/xc/lib/GL/glx/XF86dri.c @@ -370,7 +370,7 @@ Bool XF86DRICreateContext(dpy, screen, visual, context, hHWContext) context, hHWContext ); } -Bool XF86DRIDestroyContext( __DRInativeDisplay * ndpy, int screen, +GLboolean XF86DRIDestroyContext( __DRInativeDisplay * ndpy, int screen, __DRIid context ) { Display * const dpy = (Display *) ndpy; @@ -392,7 +392,7 @@ Bool XF86DRIDestroyContext( __DRInativeDisplay * ndpy, int screen, return True; } -Bool XF86DRICreateDrawable( __DRInativeDisplay * ndpy, int screen, +GLboolean XF86DRICreateDrawable( __DRInativeDisplay * ndpy, int screen, __DRIid drawable, drm_drawable_t * hHWDrawable ) { Display * const dpy = (Display *) ndpy; @@ -422,7 +422,7 @@ Bool XF86DRICreateDrawable( __DRInativeDisplay * ndpy, int screen, return True; } -Bool XF86DRIDestroyDrawable( __DRInativeDisplay * ndpy, int screen, +GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay * ndpy, int screen, __DRIid drawable ) { Display * const dpy = (Display *) ndpy; diff --git a/xc/lib/GL/glx/xf86dri.h b/xc/lib/GL/glx/xf86dri.h index 134a2ff94..0a2bb2497 100644 --- a/xc/lib/GL/glx/xf86dri.h +++ b/xc/lib/GL/glx/xf86dri.h @@ -94,13 +94,13 @@ Bool XF86DRICreateContext( Display *dpy, int screen, Visual *visual, Bool XF86DRICreateContextWithConfig( Display *dpy, int screen, int configID, XID *ptr_to_returned_context_id, drm_context_t *hHWContext ); -extern Bool XF86DRIDestroyContext( __DRInativeDisplay *dpy, int screen, +extern GLboolean XF86DRIDestroyContext( __DRInativeDisplay *dpy, int screen, __DRIid context_id ); -extern Bool XF86DRICreateDrawable( __DRInativeDisplay *dpy, int screen, +extern GLboolean XF86DRICreateDrawable( __DRInativeDisplay *dpy, int screen, __DRIid drawable, drm_drawable_t *hHWDrawable ); -extern Bool XF86DRIDestroyDrawable( __DRInativeDisplay *dpy, int screen, +extern GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay *dpy, int screen, __DRIid drawable); Bool XF86DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable, |