sna/gen5: Use the same prefer_blt_fill() switch for fill-one

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-11-25 13:16:37 +00:00
parent 7ad2d3b695
commit d0cce0da71
1 changed files with 1 additions and 1 deletions

View File

@ -2973,7 +2973,7 @@ gen5_render_fill_one(struct sna *sna, PixmapPtr dst, struct kgem_bo *bo,
#endif
/* Prefer to use the BLT if already engaged */
if (sna->kgem.mode != KGEM_RENDER &&
if (prefer_blt_fill(sna) &&
gen5_render_fill_one_try_blt(sna, dst, bo, color,
x1, y1, x2, y2, alu))
return TRUE;