summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-12-28 15:53:59 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-12-28 15:53:59 +0200
commit22a0914cce9f6352e3042b9f1f7b9cacac2db0b7 (patch)
tree74cd86bddbfff146be5804c4fda020624e8c1cc1
parent3d0257e1b666a775a1413c5ba163958a09080f89 (diff)
gl: Add \0 terminators for the Apple sync extension
Otherwise GL initialization might check for extensions forever and never finishes.
-rw-r--r--gst-libs/gst/gl/glprototypes/sync.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/glprototypes/sync.h b/gst-libs/gst/gl/glprototypes/sync.h
index d2fa99d5a..212334405 100644
--- a/gst-libs/gst/gl/glprototypes/sync.h
+++ b/gst-libs/gst/gl/glprototypes/sync.h
@@ -22,8 +22,8 @@ GST_GL_EXT_BEGIN (sync,
GST_GL_API_OPENGL3,
3, 2,
3, 0,
- "APPLE",
- "sync")
+ "APPLE\0",
+ "sync\0")
GST_GL_EXT_FUNCTION (GLsync, FenceSync,
(GLenum condition,
GLbitfield flags))