sna: Discard any GPU damage when overwriting with trapezoids
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
819dc93e52
commit
e5bfea5826
|
|
@ -3177,7 +3177,7 @@ trapezoid_span_inplace(CARD8 op, PicturePtr src, PicturePtr dst,
|
|||
|
||||
region.data = NULL;
|
||||
if (!sna_drawable_move_region_to_cpu(dst->pDrawable, ®ion,
|
||||
MOVE_READ | MOVE_WRITE))
|
||||
MOVE_WRITE))
|
||||
return true;
|
||||
|
||||
pixmap = get_drawable_pixmap(dst->pDrawable);
|
||||
|
|
|
|||
Loading…
Reference in New Issue