summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 240e88b..536890d 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -631,13 +631,9 @@ drmmode_handle_transform(xf86CrtcPtr crtc)
Bool ret;
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,903,0)
- if (crtc->transformPresent || crtc->rotation != RR_Rotate_0)
- crtc->driverIsPerformingTransform = XF86DriverTransformOutput;
- else
- crtc->driverIsPerformingTransform = XF86DriverTransformNone;
+ crtc->driverIsPerformingTransform = XF86DriverTransformOutput;
#else
crtc->driverIsPerformingTransform = !crtc->transformPresent &&
- crtc->rotation != RR_Rotate_0 &&
(crtc->rotation & 0xf) == RR_Rotate_0;
#endif