summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-12-18 10:55:38 +1000
committerDave Airlie <airlied@linux.ie>2007-12-18 10:55:38 +1000
commit29706ca585ebd9b7b3521521a17016322e9ecccb (patch)
tree41e65be96c4257956f3a0aea13e840f97384d602
parent2a134af01bc85de758ad83a85b23d1bba4a1a0f5 (diff)
fixup shadow setup on !r600
-rw-r--r--src/radeon_driver.c6
1 files 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 */