sna: Correct partial-write flag for PolySegments fallback

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-04-08 13:39:47 +01:00
parent c3d7f4c1cf
commit f5deea4f60
1 changed files with 1 additions and 1 deletions

View File

@ -7642,7 +7642,7 @@ fallback:
goto out;
if (!sna_drawable_move_region_to_cpu(drawable, &data.region,
drawable_gc_flags(drawable, gc,
!(data.flags & 4 && n > 1))))
!(data.flags & 4 && n == 1))))
goto out;
/* Install FillSpans in case we hit a fallback path in fbPolySegment */