From d1812fc73c6491594dbc59b91c882e07b8abfa1f Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 14 Dec 2015 17:05:31 +1100 Subject: [PATCH] glformat: add compatibility definitions for OES/rectangle textures --- gst-libs/gst/gl/gstglformat.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gst-libs/gst/gl/gstglformat.c b/gst-libs/gst/gl/gstglformat.c index 6d9f4a9..e8e5e46 100644 --- a/gst-libs/gst/gl/gstglformat.c +++ b/gst-libs/gst/gl/gstglformat.c @@ -47,6 +47,13 @@ #define GL_RG8 0x822B #endif +#ifndef GL_TEXTURE_RECTANGLE +#define GL_TEXTURE_RECTANGLE 0x84F5 +#endif +#ifndef GL_TEXTURE_EXTERNAL_OES +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#endif + static inline guint _gl_format_n_components (guint format) { -- 2.7.4