glcontext: fix up assertion
error: 'return' with no value, in function returning non-void
This commit is contained in:
parent
4a8b31afd6
commit
b534e7e7af
@ -1015,7 +1015,7 @@ gboolean
|
|||||||
gst_gl_context_check_gl_version (GstGLContext * context, GstGLAPI api,
|
gst_gl_context_check_gl_version (GstGLContext * context, GstGLAPI api,
|
||||||
gint maj, gint min)
|
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)
|
if (maj > context->priv->gl_major)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user