getting texture format

Hi All

  1. How to query or enumerate a list of supported internal texture formats ??

  2. Is there anywhere in net reference manual for ogl 1.5 (better than ogl 1.5 spec from opengl.org)??

best regards
Marcin

You cannot enumerate all the supported internal formats. The best you can do, which isn’t very good, is upload a texture (or, sometimes, a proxy texture), and query for format of that texture to see what you got. The driver may just echo back whatever you provided it, though.