mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +00:00
glmemory: provide compatibility definition for GLES2 for GL_RGBA8
This commit is contained in:
parent
d914cc6e72
commit
ab2656ebe5
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