summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-06-02 17:24:18 +1000
committerMatthew Waters <matthew@centricular.com>2015-06-02 17:24:18 +1000
commitab2656ebe5a61aa952bc455c1610cd247aa91791 (patch)
tree09fb3e8751b42b96c2f22dd6b5cdddd5d4e325bb
parentd914cc6e72e0cbfc4429a1dc88e2913dc9f01cd5 (diff)
glmemory: provide compatibility definition for GLES2 for GL_RGBA8
-rw-r--r--gst-libs/gst/gl/gstglmemory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c
index 0deb98a3b..b93ad5ef8 100644
--- a/gst-libs/gst/gl/gstglmemory.c
+++ b/gst-libs/gst/gl/gstglmemory.c
@@ -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