mirror of https://github.com/mosra/magnum.git
Browse Source
It is deprecated, but many ES2 implementations don't support EXT_texture_rg, thus this is the only way to have single- and two-component textures without wasting precious memory. The enum value isn't exposed on desktop OpenGL and ES3. GL_ALPHA is not supported, as it doesn't bring any new functionality (it is also single-component and thus can be interchanged with GL_LUMINANCE).pull/278/head
5 changed files with 60 additions and 3 deletions
Loading…
Reference in new issue