From 29706ca585ebd9b7b3521521a17016322e9ecccb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 18 Dec 2007 10:55:38 +1000 Subject: fixup shadow setup on !r600 --- src/radeon_driver.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 62e7cd0..3d2c802 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3939,8 +3939,10 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, RADEONInitVideo(pScreen); } - if (!shadowSetup(pScreen)) { - return FALSE; + if (info->r600_shadow_fb == TRUE) { + if (!shadowSetup(pScreen)) { + return FALSE; + } } /* Provide SaveScreen & wrap BlockHandler and CloseScreen */ -- cgit v1.2.3