| Re: [AD] RLE clipping speedup |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> An updated version of this.
Thanks.
I'm not convinced by these lines:
+ for (y=0; y<s->h; ++y) {
+ /* relocate pointers to be based at s->dat */
+ s->lines[y] = (signed char*)((int)s->lines[y] + (int)s->dat);
+ }
Don't the 's->lines[y]' need to be scaled according to the pixel size ?
--
Eric Botcazou
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |