summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-12-29 11:51:58 +1000
committerDave Airlie <airlied@linux.ie>2008-12-29 11:51:58 +1000
commit6b9f421b792c701e909d81ae2b6e6a47fb069b0b (patch)
tree91105cf8d31051490ac59605fa787a49906362d0 /src
parenta320541e51818833a6a445707835fbf70e9babd4 (diff)
modeset: transformPresent is a new API member
Diffstat (limited to 'src')
-rw-r--r--src/drmmode_display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 8c73fda1..49942519 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) {