diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2004-03-11 20:35:38 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@gmail.com> | 2004-03-11 20:35:38 +0000 |
commit | ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 (patch) | |
tree | 495f1f0249dc177e65f956e16ae79f7ab5a0cb83 /src/glx/mini/driver.h | |
parent | 157ec8bcf8b56d7951416d9ee13c98b7e82d099d (diff) |
Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
Diffstat (limited to 'src/glx/mini/driver.h')
-rw-r--r-- | src/glx/mini/driver.h | 13 |
1 files changed, 3 insertions, 10 deletions
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 */ /*@}*/ |