summaryrefslogtreecommitdiff
path: root/src/glx/mini/dri_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/mini/dri_util.c')
-rw-r--r--src/glx/mini/dri_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/mini/dri_util.c b/src/glx/mini/dri_util.c
index 6d79d2037c..23b9b9d5fb 100644
--- a/src/glx/mini/dri_util.c
+++ b/src/glx/mini/dri_util.c
@@ -28,7 +28,6 @@
#include <sys/mman.h>
#include <sys/shm.h>
-#include "sarea.h"
#include "dri_util.h"
/**
@@ -270,7 +269,7 @@ static void *driCreateDrawable(__DRIscreen *screen,
pdp->w = width;
pdp->h = height;
pdp->numClipRects = 0;
- pdp->pClipRects = (XF86DRIClipRectPtr) malloc(sizeof(XF86DRIClipRectRec));
+ pdp->pClipRects = (drm_clip_rect_t *) malloc(sizeof(drm_clip_rect_t));
(pdp->pClipRects)[0].x1 = 0;
(pdp->pClipRects)[0].y1 = 0;
(pdp->pClipRects)[0].x2 = width;