glmemory: provide compatibility definition for GLES2 for GL_RGBA8

This commit is contained in:
Matthew Waters 2015-06-02 17:24:18 +10:00 committed by Tim-Philipp Müller
parent 1e9f7b6303
commit fd7348d064

View file

@ -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