summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r128/server/r128_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r128/server/r128_dri.c b/src/mesa/drivers/dri/r128/server/r128_dri.c
index 3d7711e85a7..9a2505da8db 100644
--- a/src/mesa/drivers/dri/r128/server/r128_dri.c
+++ b/src/mesa/drivers/dri/r128/server/r128_dri.c
@@ -728,6 +728,7 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx)
R128DRIPtr pR128DRI;
int err, major, minor, patch;
drmVersionPtr version;
+ drm_r128_sarea_t *pSAREAPriv;
switch (ctx->bpp) {
case 8:
@@ -884,7 +885,6 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx)
0,
info->backPitch * ctx->cpp * ctx->shared.virtualHeight );
- drm_r128_sarea_t *pSAREAPriv;
pSAREAPriv = (drm_r128_sarea_t *)(((char*)ctx->pSAREA) +
sizeof(drm_sarea_t));
memset(pSAREAPriv, 0, sizeof(*pSAREAPriv));