Commit 094f42cd authored by Michel Dänzer's avatar Michel Dänzer Committed by Kenneth Graunke

xfree86/modes: Call xf86RotateRedisplay from xf86CrtcRotate

If a new rotate buffer was allocated. This makes sure the new buffer
has valid transformed contents when it starts being displayed.
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
(Cherry picked from commit 327df450)
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent b50175fe
......@@ -485,6 +485,9 @@ xf86CrtcRotate(xf86CrtcPtr crtc)
if (damage)
xf86CrtcDamageShadow(crtc);
else if (crtc->rotatedData && !crtc->rotatedPixmap)
/* Make sure the new rotate buffer has valid transformed contents */
xf86RotateRedisplay(pScreen);
/* All done */
return TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment