From fd7348d0643e2511929c60833e07396aa4089b3a Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 2 Jun 2015 17:24:18 +1000 Subject: [PATCH] glmemory: provide compatibility definition for GLES2 for GL_RGBA8 --- gst-libs/gst/gl/gstglmemory.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 0deb98a3bd..b93ad5ef86 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