summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/ffb/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/ffb/server')
-rw-r--r--src/mesa/drivers/dri/ffb/server/ffb_drishare.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/ffb/server/ffb_drishare.h b/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
index 501dd5b218c..01d884ab31d 100644
--- a/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
+++ b/src/mesa/drivers/dri/ffb/server/ffb_drishare.h
@@ -16,7 +16,7 @@ typedef struct ffb_dri_state {
} ffb_dri_state_t;
#define FFB_DRISHARE(SAREA) \
- ((ffb_dri_state_t *) (((char *)(SAREA)) + sizeof(XF86DRISAREARec)))
+ ((ffb_dri_state_t *) (((char *)(SAREA)) + sizeof(drm_sarea_t)))
typedef struct {
drmHandle hFbcRegs;