Re: [AD] 16-bit uncompressed windows bitmaps

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


On 2005-12-24, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> Can I do this:
> 
> ((short *)bmp->line[line])[i] = makecol16(c.r,c.g,c.b);
> 
> or must I use some macro?

That should be fine.

> I see the 24/32 bit use WRITE3BYTES to
> correct for endian issues.

I don't know why that is.  Shouldn't the endian problems be resolved by
makecol* anyway ?

Peter





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