summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstgles2.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-04-12 21:43:50 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-04-12 22:25:13 +0200
commitae81268565e79c7088a9fda6a10b8650b44e3643 (patch)
tree0ba5d9f73eb2f98d2618f6e323fbd6f427dae9f2 /gst-libs/gst/gl/gstgles2.h
parent6b2c24d0c48c395c8aee4ce7e2823d30944aac00 (diff)
gl: Add support for iOS EAGL platform
https://bugzilla.gnome.org/show_bug.cgi?id=703341
Diffstat (limited to 'gst-libs/gst/gl/gstgles2.h')
-rw-r--r--gst-libs/gst/gl/gstgles2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstgles2.h b/gst-libs/gst/gl/gstgles2.h
index 8fa87190f..195ca7d75 100644
--- a/gst-libs/gst/gl/gstgles2.h
+++ b/gst-libs/gst/gl/gstgles2.h
@@ -28,6 +28,12 @@
G_BEGIN_DECLS
/* SUPPORTED */
+/* FIXME: On iOS this exists but maps to an actual BGRA extension */
+#ifdef __APPLE__
+#ifdef GL_BGRA
+#undef GL_BGRA
+#endif
+#endif
//FIXME:
#define GL_RGB16 GL_RGB565