equal
deleted
inserted
replaced
47 if (src->a == 0) { |
47 if (src->a == 0) { |
48 /* src->r is 'misused' here to indicate how much more pixels are following with an alpha of 0 */ |
48 /* src->r is 'misused' here to indicate how much more pixels are following with an alpha of 0 */ |
49 int skip = UnScaleByZoom(src->r, zoom); |
49 int skip = UnScaleByZoom(src->r, zoom); |
50 |
50 |
51 dst += skip; |
51 dst += skip; |
52 /* Make sure the anim-buffer is cleared */ |
|
53 memset(anim, 0, skip); |
|
54 anim += skip; |
52 anim += skip; |
55 x += skip - 1; |
53 x += skip - 1; |
56 src += ScaleByZoom(1, zoom) * skip; |
54 src += ScaleByZoom(1, zoom) * skip; |
57 continue; |
55 continue; |
58 } |
56 } |