From ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 11 Mar 2004 20:35:38 +0000 Subject: Adjustments to make everything use IOCTL/sarea defines in DRM instead of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h --- src/glx/mini/driver.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/glx/mini/driver.h') diff --git a/src/glx/mini/driver.h b/src/glx/mini/driver.h index a3ec96083b..a619ad4449 100644 --- a/src/glx/mini/driver.h +++ b/src/glx/mini/driver.h @@ -52,15 +52,8 @@ #include "GL/gl.h" #include "GL/internal/glcore.h" -/** - * \brief Clip rectangle definition. - */ -typedef struct _XF86DRIClipRect { - unsigned short x1; /**< \brief Upper: inclusive */ - unsigned short y1; /**< \brief Left: inclusive */ - unsigned short x2; /**< \brief Lower: exclusive */ - unsigned short y2; /**< \brief Right: exclusive */ -} XF86DRIClipRectRec, *XF86DRIClipRectPtr; +#include "drm.h" +#include "drm_sarea.h" /** * \brief DRIDriverContext type. @@ -105,7 +98,7 @@ typedef struct DRIDriverContextRec { */ /*@{*/ int drmFD; /**< \brief DRM device file descriptor */ - struct _XF86DRISAREA *pSAREA; + drm_sarea_t *pSAREA; unsigned int serverContext; /**< \brief DRM context only active on server */ /*@}*/ -- cgit v1.2.3