From c79ff823786c3ae546060abab880e6bb9c67871c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 30 Jun 2010 03:44:32 +0200 Subject: Fix typo in duff_1i1o1 where the strides were not being adjusted. --- draw/porterduff.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'draw') diff --git a/draw/porterduff.c b/draw/porterduff.c index d36dcfe6..884a3830 100644 --- a/draw/porterduff.c +++ b/draw/porterduff.c @@ -182,6 +182,9 @@ duff_1i1o1(byte * restrict sp, int sw, byte * restrict mp, int mw, byte * restri { /* duff_nimon(sp0, sw, 1, mp0, mw, 1, dp0, dw, w0, h); */ + sw -= w0; + dw -= w0; + mw -= w0; while (h--) { int w = w0; -- cgit v1.2.3