diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-31 17:32:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-31 17:32:57 +0000 |
commit | cd7df0004cf6e423d2ae6c0cf83a84e0031161b4 (patch) | |
tree | 389a40848bbcf7ef39d3f4e61115ecfd10952d6c /src | |
parent | 38376b56cfe0dfc603bce48e37432622ef9a0135 (diff) |
sna: Pass width/height to composite for rotated displays
This is essential to handle displays that are too large to be rendered
normally via the 3D pipeline and so that the bounds of the fixup region
are known.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60124
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 28e8b4b5..b368648b 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3169,7 +3169,7 @@ sna_crtc_redisplay__composite(xf86CrtcPtr crtc, RegionPtr region) 0, 0, 0, 0, 0, 0, - 0, 0, + crtc->mode.HDisplay, crtc->mode.VDisplay, memset(&tmp, 0, sizeof(tmp)))) { DBG(("%s: unsupported operation!\n", __FUNCTION__)); sna_crtc_redisplay__fallback(crtc, region); |