mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 12:30:05 +01:00
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 <ajax@redhat.com>
This commit is contained in:
parent
c66c548eab
commit
327df450ff
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue