mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
randr: Avoid needlessly creating a shadow framebuffer.
- pScreen->width and height were zero, so it didn't "fit" the screen.
This commit is contained in:
parent
01eaebdc98
commit
ffb484f7ef
2 changed files with 12 additions and 3 deletions
|
|
@ -464,7 +464,7 @@ xf86CrtcRotate (xf86CrtcPtr crtc)
|
|||
/* mark shadowed area as damaged so it will be repainted */
|
||||
xf86CrtcDamageShadow (crtc);
|
||||
}
|
||||
|
||||
|
||||
if (!xf86_config->rotation_damage)
|
||||
{
|
||||
/* Create damage structure */
|
||||
|
|
|
|||
Loading…
Reference in a new issue