mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
glcontext: fix up assertion
error: 'return' with no value, in function returning non-void
This commit is contained in:
parent
da35876537
commit
4ee5967414
1 changed files with 1 additions and 1 deletions
|
@ -1015,7 +1015,7 @@ gboolean
|
|||
gst_gl_context_check_gl_version (GstGLContext * context, GstGLAPI api,
|
||||
gint maj, gint min)
|
||||
{
|
||||
g_return_if_fail (GST_GL_IS_CONTEXT (context));
|
||||
g_return_val_if_fail (GST_GL_IS_CONTEXT (context), FALSE);
|
||||
|
||||
if (maj > context->priv->gl_major)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue