diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_legacy_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_legacy_memory.c b/src/radeon_legacy_memory.c index 2a9ee940..861fd979 100644 --- a/src/radeon_legacy_memory.c +++ b/src/radeon_legacy_memory.c @@ -93,10 +93,10 @@ void radeon_legacy_free_memory(ScrnInfoPtr pScrn, void *mem_struct) { - ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex]; RADEONInfoPtr info = RADEONPTR(pScrn); - #ifdef USE_EXA + ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex]; + if (info->useEXA) { ExaOffscreenArea *area = mem_struct; |