Re: [AD] RLE clipping speedup |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> The scaling is in fact implicit, as the creation of the RLE_SPRITE
> already scales its increments by the right size, and I use the
> pointers it yields to fill lines, so that's why there is no explicit
> scaling anywhere.
Do you mean that the line
+ lines[y] = (signed char *)c;
does the scaling ?
How comes that rle.c contains the following lines
{
signed short *p = (signed short *)_scratch_mem;
DO_RLE(16);
c *= sizeof(short);
}
which explicitly scale the final value of 'c' ?
--
Eric Botcazou