Commit 327df450 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

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>
parent c66c548e
......@@ -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