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:
Maarten Maathuis 2008-11-29 14:30:55 +01:00
commit ffb484f7ef
2 changed files with 12 additions and 3 deletions

View file

@ -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 */