mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glmemory: provide compatibility definition for GLES2 for GL_RGBA8
This commit is contained in:
parent
1e9f7b6303
commit
fd7348d064
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_MEMORY);
|
|||
static GstAllocator *_gl_allocator;
|
||||
|
||||
/* compatability definitions... */
|
||||
#ifndef GL_RGBA8
|
||||
#define GL_RGBA8 0x8058
|
||||
#endif
|
||||
#ifndef GL_RED
|
||||
#define GL_RED 0x1903
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue