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:
parent
3eded4202e
commit
d745cab6c4
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue