~ubuntu-branches/ubuntu/oneiric/xserver-xorg-video-ati/oneiric

« back to all changes in this revision

Viewing changes to src/radeon_cursor.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker
  • Date: 2010-07-08 16:45:59 UTC
  • mfrom: (1.5.5 upstream)
  • mto: (0.2.12 sid)
  • mto: This revision was merged to the branch mainline in revision 95.
  • Revision ID: james.westby@ubuntu.com-20100708164559-wjwmwrsnixdt1ckv
Tags: upstream-6.13.1
ImportĀ upstreamĀ versionĀ 6.13.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
    ScrnInfoPtr pScrn = crtc->scrn;
344
344
    RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
345
345
    RADEONInfoPtr info = RADEONPTR(pScrn);
346
 
    uint32_t *pixels = (uint32_t *)(pointer)(info->FB + radeon_crtc->cursor_offset);
 
346
    uint32_t *pixels = (uint32_t *)(pointer)(info->FB + pScrn->fbOffset + radeon_crtc->cursor_offset);
347
347
    int            pixel, i;
348
348
    CURSOR_SWAPPING_DECL_MMIO
349
349
 
386
386
    RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
387
387
    RADEONInfoPtr  info = RADEONPTR(pScrn);
388
388
    CURSOR_SWAPPING_DECL_MMIO
389
 
    uint32_t *d = (uint32_t *)(pointer)(info->FB + radeon_crtc->cursor_offset);
 
389
    uint32_t *d = (uint32_t *)(pointer)(info->FB + pScrn->fbOffset + radeon_crtc->cursor_offset);
390
390
 
391
391
    RADEONCTRACE(("RADEONLoadCursorARGB\n"));
392
392