mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
glformat: add compatibility definitions for OES/rectangle textures
This commit is contained in:
parent
dc02d47092
commit
d1812fc73c
1 changed files with 7 additions and 0 deletions
|
@ -47,6 +47,13 @@
|
|||
#define GL_RG8 0x822B
|
||||
#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
|
||||
_gl_format_n_components (guint format)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue