From 06881b9f188aad6b2e928ac284fd5d0ac33d9b0d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 29 Oct 2013 10:11:16 +0000 Subject: Fix 1x1 area scaled plot optimisation. --- src/plot/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot/api.c b/src/plot/api.c index ba6afc8..1746d2e 100644 --- a/src/plot/api.c +++ b/src/plot/api.c @@ -155,7 +155,7 @@ nsfb_plot_copy(nsfb_t *srcfb, return true; /* completely opaque pixels can be replaced with fill */ - if ((srccol & 0xff000000) == 0xff) + if ((srccol & 0xff000000) == 0xff000000) return dstfb->plotter_fns->fill(dstfb, dstbox, srccol); } -- cgit v1.2.3