diff options
author | Brian Paul <[email protected]> | 2004-04-08 22:25:03 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-04-08 22:25:03 +0000 |
commit | 01eab7c83403b67bda60dcc42cf5fc25c46d797d (patch) | |
tree | ac30a7d18528296bebeb6cb5d83151f67c1aac1a /src/mesa/drivers/dri/r128/server | |
parent | 62d3309dc223dd8281f1f618e9c784a2dd804e81 (diff) |
move pSAREAPriv declaration to be C-compliant
Diffstat (limited to 'src/mesa/drivers/dri/r128/server')
-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 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)); |