[AD] Bug in TGA loading code?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello

I think there is a bug in Allegro's TGA loading code causing it to crash on loading some TGAs and to load others incorrectly. In the below archive are my example TGAs and a text document describing how Allegro reacts to the different files. I unfortunately don't know the internals of TGA, thus I don't have the skill to fix the bug myself.
I'm using Allegro WIP 4.1.16, built for Windows, Mingw/GCC.

The archive can be found (at least for a few weeks) at:
http://stor.no-ip.org/~rlj/tga_crash.zip

Kindest regards.
//Rikard Ljungstrand

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/