glcontext: fix up assertion

error: 'return' with no value, in function returning non-void
This commit is contained in:
Matthew Waters 2014-05-30 10:46:25 +10:00 committed by Tim-Philipp Müller
parent 4a8b31afd6
commit b534e7e7af

View file

@ -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;