skaslev / gl3w

Simple OpenGL core profile loading
http://github.com/skaslev/gl3w
The Unlicense
705 stars 157 forks source link

No S3TC/DXT compression enums #39

Closed russelltg closed 7 years ago

russelltg commented 8 years ago

I wanted to switch over to this, but I have one issue: there is no definition of GL_COMPRESSED_RGBA_S3TC_DXT1_EXT or similar. Is this by design? I see there is other compression formats like BPTC and ASTC, but no DXT.

skaslev commented 7 years ago

GL_COMPRESSED_RGBA_S3TC_DXT1_EXT is currently not present in glcorearb.h which is the API gl3w exports and loads.

tombsar commented 7 years ago

NB: The extension that provides these formats is described here: https://www.opengl.org/registry/specs/EXT/texture_compression_s3tc.txt

skaslev commented 7 years ago

To follow up, it seems that glcorearb.h is finally exposing GL_COMPRESSED_RGBA_S3TC_DXT1_EXT these days.