Must call ValidateGC in i830_uxa_put_image for scratch GC

Always need to call ValidateGC or the scratch GC will not get the
right composite clip.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2010-05-10 22:58:49 -07:00
parent 3eded4202e
commit d745cab6c4
1 changed files with 1 additions and 0 deletions

View File

@ -862,6 +862,7 @@ static Bool i830_uxa_put_image(PixmapPtr pixmap,
if (scratch) {
gc = GetScratchGC(pixmap->drawable.depth, screen);
if (gc) {
ValidateGC(&pixmap->drawable, gc);
pixmap->devPrivate.ptr = priv->bo->virtual;
ret = !! fbCopyArea(&scratch->drawable, &pixmap->drawable, gc,
0, 0,