glformat: add compatibility definitions for OES/rectangle textures
This commit is contained in:
parent
4c8f264686
commit
359d0a31ee
@ -47,6 +47,13 @@
|
|||||||
#define GL_RG8 0x822B
|
#define GL_RG8 0x822B
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_TEXTURE_RECTANGLE
|
||||||
|
#define GL_TEXTURE_RECTANGLE 0x84F5
|
||||||
|
#endif
|
||||||
|
#ifndef GL_TEXTURE_EXTERNAL_OES
|
||||||
|
#define GL_TEXTURE_EXTERNAL_OES 0x8D65
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline guint
|
static inline guint
|
||||||
_gl_format_n_components (guint format)
|
_gl_format_n_components (guint format)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user