diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-02-24 08:12:23 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-02-24 08:12:23 +0100 |
commit | 5ab8699c97c050424cf813b9a60550aba32446a2 (patch) | |
tree | 401446da0c785599ac66744ceb80046e5b3462d5 /src | |
parent | 132e61741185f4a1114e66a34bdbf21e08e4d5d8 (diff) |
Fix compile warning when building without EXA.
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; |