summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/dri_client/xf86dri.h
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-05-03 06:49:40 +0000
committerDave Airlie <airliedfreedesktop.org>2004-05-03 06:49:40 +0000
commitf7423f462882ce96725e84cf7f28cee2c45f801b (patch)
tree8ff805b36629e78b45954b04f05586efa76028be /src/mesa/drivers/dri/dri_client/xf86dri.h
parent79518b6f37cc5feca1931de558dc8033d2c643a7 (diff)
fix up build for solo/dri
Diffstat (limited to 'src/mesa/drivers/dri/dri_client/xf86dri.h')
-rw-r--r--src/mesa/drivers/dri/dri_client/xf86dri.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/dri_client/xf86dri.h b/src/mesa/drivers/dri/dri_client/xf86dri.h
index 013f5b32d5..d76c7b6a79 100644
--- a/src/mesa/drivers/dri/dri_client/xf86dri.h
+++ b/src/mesa/drivers/dri/dri_client/xf86dri.h
@@ -39,6 +39,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define _XF86DRI_H_
#include <X11/Xfuncproto.h>
+#include "drm.h"
#include <xf86drm.h>
#define X_XF86DRIQueryVersion 0
@@ -62,15 +63,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define XF86DRIOperationNotSupported 1
#define XF86DRINumberErrors (XF86DRIOperationNotSupported + 1)
-/* Warning : Do not change XF86DRIClipRect without changing the kernel
- * structure! */
-typedef struct _XF86DRIClipRect {
- unsigned short x1; /* Upper left: inclusive */
- unsigned short y1;
- unsigned short x2; /* Lower right: exclusive */
- unsigned short y2;
-} XF86DRIClipRectRec, *XF86DRIClipRectPtr;
-
#ifndef _XF86DRI_SERVER_
_XFUNCPROTOBEGIN
@@ -192,11 +184,11 @@ Bool XF86DRIGetDrawableInfo(
int* /* W */,
int* /* H */,
int* /* numClipRects */,
- XF86DRIClipRectPtr*,/* pClipRects */
+ drm_clip_rect_t*, /* pClipRects */
int* /* backX */,
int* /* backY */,
int* /* numBackClipRects */,
- XF86DRIClipRectPtr* /* pBackClipRects */
+ drm_clip_rect_t* /* pBackClipRects */
#endif
);