Commit 7cec50b6 authored by idr's avatar idr
Browse files

Replace Bool with GLboolean. This is only needed for the functions

that are called directly by DRI drivers.
parent 115c18ca
......@@ -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;
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment