diff options
author | Keith Packard <keithp@keithp.com> | 2010-05-10 22:58:49 -0700 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2010-05-17 20:20:47 +0100 |
commit | 4012acc43ea106ef8f64e59c7b3dd0739ace0af9 (patch) | |
tree | 119c9a77c15581b29b768381d55766ae97d78a54 /src/i830_uxa.c | |
parent | a6602a3000c66d0d6c457074b83b2b47e28640dd (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>
(cherry picked from commit d745cab6c45b9fce5e46eacbdd04ceae911fddbb)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_uxa.c')
-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 decadcfb..db8a5048 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -854,6 +854,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, |