diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-25 13:16:37 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-25 13:16:37 +0000 |
commit | d0cce0da71fae275a0f1be33b2bebad9d41212c9 (patch) | |
tree | 775be5597c371ca48cc88883615a410a8ca118bd /src/sna/gen5_render.c | |
parent | 7ad2d3b695115439f685a12d43ab240cf5e18ef7 (diff) |
sna/gen5: Use the same prefer_blt_fill() switch for fill-one
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen5_render.c')
-rw-r--r-- | src/sna/gen5_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c index 7c9d88ea..507a947c 100644 --- a/src/sna/gen5_render.c +++ b/src/sna/gen5_render.c @@ -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; |