From 578ff11c3753ede2c81afc47302991e3d3b316f2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 20 Jul 2012 14:24:06 +0100 Subject: sna: Just use composite.box() when we only have one box Signed-off-by: Chris Wilson --- src/sna/sna_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index e503586e..1db89583 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -791,7 +791,7 @@ static int sna_render_picture_downsample(struct sna *sna, &op)) goto cleanup_src; - op.boxes(sna, &op, &b, 1); + op.box(sna, &op, &b); op.done(sna, &op); } } -- cgit v1.2.3