diff options
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 47a1dbc0..87b58211 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -148,7 +148,9 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, crtc->x = x; crtc->y = y; crtc->rotation = rotation; +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,5,99,0,0) crtc->transformPresent = FALSE; +#endif output_ids = xcalloc(sizeof(uint32_t), xf86_config->num_output); if (!output_ids) { |