16bits textures..

Hi
i’ve got probs with 16 bits textures in general under Gl… i’ve tested for (5551) textures in this way:
glTexImage2D(GL_TEXTURE_2D,0,GL_RGB5_A1,w,h,0,GL_RGBA,GL_UNSIGNED_SHORT_5_5_5_1_EXT,pic->Infos.pData);

and i have really weird results! i’ve also tried with GL_BGRA_EXT and i haven’t got good results on i740,TnT2 and GeForce family boards…
Q1: How can i detect if the GL_UNSIGNED_SHORT_5_5_5_1_EXT is supported??
Q2: Is there any other enumeration for 16Bpp textures ??
Q3: Why the simple GL_UNSIGNED_SHORT doesn’t work properly with GL_RGB5_A1??

thank you!

i guess youre not passing in the right values with GL_UNSIGNED_SHORT_5_5_5_1_EXT

mr sexybastard might have something of interest http://members.nbci.com/myBollux
under internal formats + packed pixels