summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/eagl
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-02-01 09:26:37 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-02-01 09:26:37 +0000
commitd11385d167d8843604ea23a05e2dea40b8bbac35 (patch)
treedc7cc071876f6065c6cf64aabd090a380f666eb6 /gst-libs/gst/gl/eagl
parentbc2ffa26faf79dafb6a406883a63487493f2701b (diff)
downloadgstreamer-plugins-bad-d11385d167d8843604ea23a05e2dea40b8bbac35.tar.gz
gl: eagl: fix build
gstglcontext_eagl.m:238:45: error: too few arguments to function call, expected at least 4, have 3
Diffstat (limited to 'gst-libs/gst/gl/eagl')
-rw-r--r--gst-libs/gst/gl/eagl/gstglcontext_eagl.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/eagl/gstglcontext_eagl.m b/gst-libs/gst/gl/eagl/gstglcontext_eagl.m
index 0ab07fe73..ecadc3f70 100644
--- a/gst-libs/gst/gl/eagl/gstglcontext_eagl.m
+++ b/gst-libs/gst/gl/eagl/gstglcontext_eagl.m
@@ -234,7 +234,8 @@ gst_gl_context_eagl_create_context (GstGLContext * context, GstGLAPI gl_api,
priv->eagl_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2 sharegroup:share_group];
}
if (!priv->eagl_context) {
- g_set_error (GST_GL_CONTEXT_ERROR, GST_GL_CONTEXT_ERROR_CREATE_CONTEXT,
+ g_set_error_literal (error, GST_GL_CONTEXT_ERROR,
+ GST_GL_CONTEXT_ERROR_CREATE_CONTEXT,
"Failed to create OpenGL ES context");
return FALSE;
}