From d745cab6c45b9fce5e46eacbdd04ceae911fddbb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 10 May 2010 22:58:49 -0700 Subject: [PATCH] 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 --- src/i830_uxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i830_uxa.c b/src/i830_uxa.c index 94a9fa9f..e96f0a9e 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -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,