PDA

View Full Version : OpenGL DIB and Textures



nik_dude
11-29-2005, 04:25 AM
Hi all,

I want render an OpenGL scene into a DIBSection. But when I want to use a RGBA textures (R: 5 bits, G: 5 bits, B: 5 bits, A: 1 bit with GL_UNSIGNED_SHORT_5_5_5_1) it doesn’t work with the DIBSection. Is there a tip to make it work or I have to unpack the texture by my self for all the textures?

Thanks for your help.

Nick.