diff options
author | Keith Packard <keithp@keithp.com> | 2010-05-10 22:58:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-10 22:59:52 -0700 |
commit | d745cab6c45b9fce5e46eacbdd04ceae911fddbb (patch) | |
tree | 6e2dc30cd2b5d6c003a1c4b5895e3d9ef8ecab70 | |
parent | 3eded4202ea00d42edf5edad831484ebc6c0c826 (diff) |
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>
-rw-r--r-- | src/i830_uxa.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |