mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glsl: fix check for glsl version against GL context inversion
Any GLSL version that was less than the provided GL version would fail
This commit is contained in:
parent
d624ba0c61
commit
776ccf87b5
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ gst_gl_context_supports_glsl_profile_version (GstGLContext * context,
|
|||
gl_api = gst_gl_context_get_gl_api (context);
|
||||
gst_gl_context_get_gl_version (context, &maj, &min);
|
||||
glsl_version = gst_gl_version_to_glsl_version (gl_api, maj, min);
|
||||
if (glsl_version > version)
|
||||
if (version > glsl_version)
|
||||
return FALSE;
|
||||
|
||||
if (gst_gl_context_check_gl_version (context, GST_GL_API_OPENGL3, 1, 0))
|
||||
|
|
Loading…
Reference in a new issue