summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri/egldri.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-27 16:49:11 -0600
committerBrian Paul <[email protected]>2008-05-27 16:49:11 -0600
commit07e92b174214e6bdaa22eecc0ed87cf1dbc8fc10 (patch)
treedd665f05e04b0c7a2ee1a880febab467bfc15182 /src/egl/drivers/dri/egldri.h
parent6052af172f0241e6678cd16efac0a0f14f40146c (diff)
misc updates, clean-ups, remove dependency on mtypes.h
Diffstat (limited to 'src/egl/drivers/dri/egldri.h')
-rw-r--r--src/egl/drivers/dri/egldri.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/egl/drivers/dri/egldri.h b/src/egl/drivers/dri/egldri.h
index 34b12d64fcd..49e1cf4d99c 100644
--- a/src/egl/drivers/dri/egldri.h
+++ b/src/egl/drivers/dri/egldri.h
@@ -1,11 +1,13 @@
#ifndef EGLDRI_INCLUDED
#define EGLDRI_INCLUDED
+#include <stdlib.h>
+#include <string.h>
#include "egldisplay.h"
#include "eglscreen.h"
#include "eglsurface.h"
#include "eglcontext.h"
-#include "mtypes.h"
+
#include "dri_util.h"
#include "drm_sarea.h"
@@ -14,7 +16,7 @@
*/
typedef struct dri_display
{
- _EGLDisplay Base; /* base class/object */
+ _EGLDisplay Base; /**< base class */
void *pFB;
int drmFD; /**< \brief DRM device file descriptor */
int minor;
@@ -32,7 +34,7 @@ typedef struct dri_display
unsigned long FBStart; /**< \brief physical address of the framebuffer */
void *driverClientMsg;
int driverClientMsgSize;
- int chipset;
+ unsigned chipset;
void *driverPrivate;
drm_magic_t magic;