summaryrefslogtreecommitdiff
path: root/src/radeon_cursor.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-12-19 10:25:41 +1000
committerDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-12-19 10:25:41 +1000
commit98b247066d00db66abe91f518cd93b5c4da4cfb4 (patch)
tree76251f398df16a58e77e28d41f5a5f9800d349b6 /src/radeon_cursor.c
parentbd7206fa120495037e3fea0c920d0031d7715bf6 (diff)
fix big endian build since zaphod fixups
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r--src/radeon_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c
index 6133b2cf..5b04848f 100644
--- a/src/radeon_cursor.c
+++ b/src/radeon_cursor.c
@@ -74,12 +74,12 @@
#define CURSOR_SWAPPING_START() \
do { \
OUTREG(RADEON_SURFACE_CNTL, \
- (info->ModeReg.surface_cntl | \
+ (info->ModeReg->surface_cntl | \
RADEON_NONSURF_AP0_SWP_32BPP | RADEON_NONSURF_AP1_SWP_32BPP) & \
~(RADEON_NONSURF_AP0_SWP_16BPP | RADEON_NONSURF_AP1_SWP_16BPP)); \
} while (0)
#define CURSOR_SWAPPING_END() (OUTREG(RADEON_SURFACE_CNTL, \
- info->ModeReg.surface_cntl))
+ info->ModeReg->surface_cntl))
#else