mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
glcontext: fix up assertion
error: 'return' with no value, in function returning non-void
This commit is contained in:
parent
4a8b31afd6
commit
b534e7e7af
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