Fix from Benh for ppc r300 scratch

main
Dave Airlie 2006-04-23 08:07:57 +00:00
parent 4a49e6c366
commit 30a5787d36
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ static int r300_scratch(drm_radeon_private_t *dev_priv,
dev_priv->scratch_ages[header.scratch.reg] ++;
ref_age_base = *(u32 **)cmdbuf->buf;
ref_age_base = (u32 *)(unsigned long)*((uint64_t *)cmdbuf->buf);
cmdbuf->buf += sizeof(uint64_t);
cmdbuf->bufsz -= sizeof(uint64_t);