diff options
-rw-r--r-- | src/mesa/drivers/dri/r128/server/r128_dri.c | 2 |
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 3d7711e85a..9a2505da8d 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)); |