diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-06 19:17:39 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-06 19:17:39 -0500 |
commit | 3ad9c9a82d7b359b9b711070628e6ff07a2aa9f7 (patch) | |
tree | 972453b33eeb8ad24ebf2ea23bad8cbbbf0e9946 | |
parent | 2e3c098c5ed9a8451713dc754a5f086992249336 (diff) |
Fix KMS compilation.
-rw-r--r-- | src/drmmode_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 680071a5..186ff2d1 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -146,6 +146,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, crtc->x = x; crtc->y = y; crtc->rotation = rotation; + crtc->transformPresent = FALSE; output_ids = xcalloc(sizeof(uint32_t), xf86_config->num_output); if (!output_ids) { @@ -166,7 +167,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, output_count++; } - if (!xf86CrtcRotate(crtc, mode, rotation)) { + if (!xf86CrtcRotate(crtc)) { goto done; } |