diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-12 20:02:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-12 20:06:28 +1000 |
commit | 94bf8f01bd43cb103fffecfe04d04a214f892baf (patch) | |
tree | 34925628b774b1c5a63ba4b374dd80b1bbdc2f61 | |
parent | 1d0f1d31e2ed1d91ee87cb3e02ce48c8c07aa418 (diff) |
radeon: fix set_cursor_colours remove fb offset
-rw-r--r-- | src/radeon_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c index 42f9a85d..d68d64b0 100644 --- a/src/radeon_cursor.c +++ b/src/radeon_cursor.c @@ -256,7 +256,7 @@ radeon_crtc_set_cursor_colors (xf86CrtcPtr crtc, int bg, int fg) ScrnInfoPtr pScrn = crtc->scrn; RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private; RADEONInfoPtr info = RADEONPTR(pScrn); - CARD32 *pixels = (CARD32 *)(pointer)(info->FB + radeon_crtc->cursor_offset + pScrn->fbOffset); + CARD32 *pixels = (CARD32 *)(pointer)(info->FB + radeon_crtc->cursor_offset); int pixel, i; CURSOR_SWAPPING_DECL_MMIO |