mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 21:50:11 +01:00
move pSAREAPriv declaration to be C-compliant
This commit is contained in:
parent
62d3309dc2
commit
01eab7c834
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue