Re: [AD] 16-bit uncompressed windows bitmaps |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> Can I do this: > > ((short *)bmp->line[line])[i] = makecol16(c.r,c.g,c.b); I'd use a uint16_t instead of a short, but other than that I think it should be fine. However, I was under the impression that the BMP loader could already load 16 bit bitmaps? At least there is some code in there for detecting if a bitmap is 16 bit. Apparently this doesn't work? Evert
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |