Re: [AD] RLE clipping speedup |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> After some comparing and code reading, you seem to be right, so
> the patch should probably read:
> + lines[y] = (signed char*)c * ((bits==24)?4:((bits+1)/8));
Ok, I put
+ lines[y] = (signed char*) (c * sizeof(*p));
> I must have forgotten to install the lib, then, as I tested both
> tests/test and my game, which worked OK... Sorry about that :(
> Actually, the whole patch might be wrong, since it didn't get
> tested at all... I'll try again tonight then...
Did you test the C-only version of the library ? Preliminary tests don't show
any problem here after my correction (DJGPP).
--
Eric Botcazou