From 7cec50b6cdc5c1864b443884a67132c9dcbdf825 Mon Sep 17 00:00:00 2001 From: idr Date: Wed, 2 Jun 2004 20:47:00 +0000 Subject: Replace Bool with GLboolean. This is only needed for the functions that are called directly by DRI drivers. --- xc/lib/GL/glx/XF86dri.c | 6 +++--- 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, -- cgit v1.2.3