Harald JOHNSEN writes:
> >
> Apparently there is no stencil in 16 bpp mode.
> Can someone check if there is an alpha channel in 16bpp mode and how 
> many bits in it ?

There is a 5 5 5 1  where 5 bits per color and one bit alpha mode

GL_RGB5_A1

#define  GL_UNSIGNED_SHORT_5_5_5_1         0x8034

example usage
glTexImage2D( GL_TEXTURE_2D, 0, GL_RGB5_A1, IMAGE_SIZE_X, IMAGE_SIZE_Y, 0, 
GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 0L );

HTH

Norman

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to