diff options
author | Dave Airlie <airlied@clockmaker.usersys.redhat.com> | 2007-12-19 10:25:41 +1000 |
---|---|---|
committer | Dave Airlie <airlied@clockmaker.usersys.redhat.com> | 2007-12-19 10:25:41 +1000 |
commit | 98b247066d00db66abe91f518cd93b5c4da4cfb4 (patch) | |
tree | 76251f398df16a58e77e28d41f5a5f9800d349b6 /src/radeon_render.c | |
parent | bd7206fa120495037e3fea0c920d0031d7715bf6 (diff) |
fix big endian build since zaphod fixups
Diffstat (limited to 'src/radeon_render.c')
-rw-r--r-- | src/radeon_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_render.c b/src/radeon_render.c index 490dec1..a80d136 100644 --- a/src/radeon_render.c +++ b/src/radeon_render.c @@ -317,7 +317,7 @@ static Bool RADEONSetupRenderByteswap(ScrnInfoPtr pScrn, int tex_bytepp) { RADEONInfoPtr info = RADEONPTR(pScrn); unsigned char *RADEONMMIO = info->MMIO; - CARD32 swapper = info->ModeReg.surface_cntl; + CARD32 swapper = info->ModeReg->surface_cntl; swapper &= ~(RADEON_NONSURF_AP0_SWP_16BPP | RADEON_NONSURF_AP1_SWP_16BPP | RADEON_NONSURF_AP0_SWP_32BPP | RADEON_NONSURF_AP1_SWP_32BPP); @@ -345,7 +345,7 @@ static void RADEONRestoreByteswap(RADEONInfoPtr info) { unsigned char *RADEONMMIO = info->MMIO; - OUTREG(RADEON_SURFACE_CNTL, info->ModeReg.surface_cntl); + OUTREG(RADEON_SURFACE_CNTL, info->ModeReg->surface_cntl); } #endif /* X_BYTE_ORDER == X_BIG_ENDIAN */ |