summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:17 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:17 +0000
commitc4b102c8d712b2c4f7adb288e1ea9d1af245d81a (patch)
tree9aac100602f56d47f73dc7b0fb49c71d4a6fedb1
parent19d9bf1b083dc6717dde51952a10a77c85515b38 (diff)
-rw-r--r--dri_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dri_interface.h b/dri_interface.h
index ced714d..9c43046 100644
--- a/dri_interface.h
+++ b/dri_interface.h
@@ -149,6 +149,8 @@ typedef GLboolean (* PFNGLXGETDRAWABLEINFOPROC) ( __DRInativeDisplay *dpy, int s
int * backX, int * backY,
int * numBackClipRects, drm_clip_rect_t ** pBackClipRects );
+/* Test for the xf86dri.h header file */
+#ifndef _XF86DRI_H_
extern GLboolean XF86DRIDestroyContext( __DRInativeDisplay *dpy, int screen,
__DRIid context_id );
@@ -157,6 +159,7 @@ extern GLboolean XF86DRICreateDrawable( __DRInativeDisplay *dpy, int screen,
extern GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay *dpy, int screen,
__DRIid drawable);
+#endif
/*@}*/