summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-10-29 10:11:16 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2013-10-29 10:11:16 (GMT)
commit06881b9f188aad6b2e928ac284fd5d0ac33d9b0d (patch)
tree083793af8d98913b388adc45ad1ac5decd145031
parent5c62d4740b6691ad0cd05863da47ec92e5f0cd7f (diff)
downloadlibnsfb-06881b9f188aad6b2e928ac284fd5d0ac33d9b0d.tar.gz
libnsfb-06881b9f188aad6b2e928ac284fd5d0ac33d9b0d.tar.bz2
Fix 1x1 area scaled plot optimisation.
-rw-r--r--src/plot/api.c2
1 files changed, 1 insertions, 1 deletions
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);
}