diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index 8a71df15ce..98ed0ed8a2 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -1101,7 +1101,8 @@ _create_context_info (GstGLContext * context, GstGLAPI gl_api, gint * gl_major, gl = context->gl_vtable; - if (!gl->GetString || !gl->GetString (GL_VERSION)) { + if (!gl->GetString || !gl->GetString (GL_VERSION) + || !gl->GetString (GL_SHADING_LANGUAGE_VERSION)) { g_set_error (error, GST_GL_CONTEXT_ERROR, GST_GL_CONTEXT_ERROR_FAILED, "glGetString not defined or returned invalid value"); return FALSE;