summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/ffb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/ffb')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_context.h2
-rw-r--r--src/mesa/drivers/dri/ffb/server/ffb_drishare.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_context.h b/src/mesa/drivers/dri/ffb/ffb_context.h
index f59f4acdaad..80fb221e3e3 100644
--- a/src/mesa/drivers/dri/ffb/ffb_context.h
+++ b/src/mesa/drivers/dri/ffb/ffb_context.h
@@ -262,7 +262,7 @@ do { if ((STATE_MASK) & ~((FMESA)->state_dirty)) { \
/* Fog state. */
float Znear, Zfar;
- drmContext hHWContext;
+ drm_context_t hHWContext;
drmLock *driHwLock;
int driFd;
diff --git a/src/mesa/drivers/dri/ffb/server/ffb_drishare.h b/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
index 01d884ab31d..f023920a1fc 100644
--- a/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
+++ b/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
@@ -19,23 +19,23 @@ typedef struct ffb_dri_state {
((ffb_dri_state_t *) (((char *)(SAREA)) + sizeof(drm_sarea_t)))
typedef struct {
- drmHandle hFbcRegs;
+ drm_handle_t hFbcRegs;
drmSize sFbcRegs;
drmAddress mFbcRegs;
- drmHandle hDacRegs;
+ drm_handle_t hDacRegs;
drmSize sDacRegs;
drmAddress mDacRegs;
- drmHandle hSfb8r;
+ drm_handle_t hSfb8r;
drmSize sSfb8r;
drmAddress mSfb8r;
- drmHandle hSfb32;
+ drm_handle_t hSfb32;
drmSize sSfb32;
drmAddress mSfb32;
- drmHandle hSfb64;
+ drm_handle_t hSfb64;
drmSize sSfb64;
drmAddress mSfb64;