gl/proto: sync operations are available on GLES 3.0
authorMatthew Waters <matthew@centricular.com>
Tue, 22 Mar 2016 07:20:59 +0000 (07:20 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:18 +0000 (19:32 +0000)
Without the GST_GL_API_GLES2 bit set, we will not even attempt to look
for the function pointers in the core library and will fallback to
glFlush/glFinish.

gst-libs/gst/gl/glprototypes/sync.h

index 2123344..30c60e4 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 GST_GL_EXT_BEGIN (sync,
-                  GST_GL_API_OPENGL3,
+                  GST_GL_API_OPENGL3 | GST_GL_API_GLES2,
                   3, 2,
                   3, 0,
                   "APPLE\0",