summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/xf86dri.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-18 13:23:06 -0600
committerBrian Paul <[email protected]>2008-09-18 13:23:06 -0600
commit3537da87de2601fa53eeda3e8d7fa0bca6eb6716 (patch)
treeda0d2ea0a18004627bcb3f98eef8a0b4c82a731d /src/glx/x11/xf86dri.h
parentbbd287103dad776d8a45c87c4e51fbc26d9b80d5 (diff)
glx: remove depency on glheader.h and GLboolean type in XF86DRI code
Return Bool instead of GLboolean to match other functions. Define PUBLIC/USED macros locally.
Diffstat (limited to 'src/glx/x11/xf86dri.h')
-rw-r--r--src/glx/x11/xf86dri.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/x11/xf86dri.h b/src/glx/x11/xf86dri.h
index cd650b5829e..a7d2a896d17 100644
--- a/src/glx/x11/xf86dri.h
+++ b/src/glx/x11/xf86dri.h
@@ -92,13 +92,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 GLboolean XF86DRIDestroyContext( Display *dpy, int screen,
+extern Bool XF86DRIDestroyContext( Display *dpy, int screen,
XID context_id );
-extern GLboolean XF86DRICreateDrawable( Display *dpy, int screen,
+extern Bool XF86DRICreateDrawable( Display *dpy, int screen,
XID drawable, drm_drawable_t *hHWDrawable );
-extern GLboolean XF86DRIDestroyDrawable( Display *dpy, int screen,
+extern Bool XF86DRIDestroyDrawable( Display *dpy, int screen,
XID drawable);
Bool XF86DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable,