diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-08-08 16:25:23 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-08-08 16:25:23 +0000 |
commit | 273ae29f2fbc4edf91e7a18786495744df278d03 (patch) | |
tree | 568a4e57d711ca8019563b864dbfc16dea020f61 /driver/xf86-video-ati/src/radeon_legacy_memory.c | |
parent | 64fb685e60e68b87cfb1f72f9a9786a85cfebb80 (diff) |
Update to xf86-video-ati 6.14.6. Tested by mpi@, brad, eric@, ajacoutot@.
Diffstat (limited to 'driver/xf86-video-ati/src/radeon_legacy_memory.c')
-rw-r--r-- | driver/xf86-video-ati/src/radeon_legacy_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-ati/src/radeon_legacy_memory.c b/driver/xf86-video-ati/src/radeon_legacy_memory.c index 5d66c920d..b01ba8ccb 100644 --- a/driver/xf86-video-ati/src/radeon_legacy_memory.c +++ b/driver/xf86-video-ati/src/radeon_legacy_memory.c @@ -18,7 +18,7 @@ radeon_legacy_allocate_memory(ScrnInfoPtr pScrn, int align, int domain) { - ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex]; + ScreenPtr pScreen = xf86ScrnToScreen(pScrn); RADEONInfoPtr info = RADEONPTR(pScrn); uint32_t offset = 0; @@ -121,7 +121,7 @@ radeon_legacy_free_memory(ScrnInfoPtr pScrn, } #endif #ifdef USE_EXA - ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex]; + ScreenPtr pScreen = xf86ScrnToScreen(pScrn); if (info->useEXA) { ExaOffscreenArea *area = mem_struct; |