Re: [AD] 16-bit uncompressed windows bitmaps |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] 16-bit uncompressed windows bitmaps
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Sat, 24 Dec 2005 19:24:42 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tsWgc8xDettwkMo4YPPlMWtAMlH2SKhB3m1TgRUsDETc5/PGfeD0uFoeS0edw+HV7Hm9CCwIC5cCw1cQ5HbcFWQgu7jONG+sqyhFqeJuRi2pKIvG3bbEZLfSoq0wMn3YlS5Q9zWfuiBTKPc5LdvJB6GR0sOAkYxJn2i4atVPNT8=
Can I do this:
((short *)bmp->line[line])[i] = makecol16(c.r,c.g,c.b);
or must I use some macro? I see the 24/32 bit use WRITE3BYTES to
correct for endian issues.
--
Matthew Leverton