diff options
author | Matthew Waters <matthew@centricular.com> | 2015-06-02 17:24:18 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-06-02 17:24:18 +1000 |
commit | ab2656ebe5a61aa952bc455c1610cd247aa91791 (patch) | |
tree | 09fb3e8751b42b96c2f22dd6b5cdddd5d4e325bb /gst-libs/gst/gl/gstglmemory.c | |
parent | d914cc6e72e0cbfc4429a1dc88e2913dc9f01cd5 (diff) | |
download | gstreamer-plugins-bad-ab2656ebe5a61aa952bc455c1610cd247aa91791.tar.gz |
glmemory: provide compatibility definition for GLES2 for GL_RGBA8
Diffstat (limited to 'gst-libs/gst/gl/gstglmemory.c')
-rw-r--r-- | gst-libs/gst/gl/gstglmemory.c | 3 |
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 |