mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gl: eagl: fix build
gstglcontext_eagl.m:238:45: error: too few arguments to function call, expected at least 4, have 3
This commit is contained in:
parent
bc2ffa26fa
commit
d11385d167
1 changed files with 2 additions and 1 deletions
|
@ -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];
|
priv->eagl_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2 sharegroup:share_group];
|
||||||
}
|
}
|
||||||
if (!priv->eagl_context) {
|
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");
|
"Failed to create OpenGL ES context");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue