summaryrefslogtreecommitdiff
path: root/hw/xfree86/modes/xf86Rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/modes/xf86Rotate.c')
-rw-r--r--hw/xfree86/modes/xf86Rotate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xfree86/modes/xf86Rotate.c b/hw/xfree86/modes/xf86Rotate.c
index 9c00a443f..f6bf531d2 100644
--- a/hw/xfree86/modes/xf86Rotate.c
+++ b/hw/xfree86/modes/xf86Rotate.c
@@ -376,7 +376,9 @@ xf86CrtcRotate(xf86CrtcPtr crtc)
&crtc_to_fb,
&f_crtc_to_fb,
&f_fb_to_crtc) &&
- xf86CrtcFitsScreen(crtc, &f_crtc_to_fb)) {
+ !crtc->forceShadow &&
+ xf86CrtcFitsScreen(crtc, &f_crtc_to_fb))
+ {
/*
* If the untranslated transformation is the identity,
* disable the shadow buffer