projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3ea0a
)
glsl: fix check for glsl version against GL context inversion
author
Matthew Waters
<matthew@centricular.com>
Tue, 10 Nov 2015 09:13:53 +0000
(20:13 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:10 +0000
(19:32 +0000)
Any GLSL version that was less than the provided GL version would fail
gst-libs/gst/gl/gstglsl.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglsl.c
b/gst-libs/gst/gl/gstglsl.c
index
34ff26a
..
d6cce7a
100644
(file)
--- a/
gst-libs/gst/gl/gstglsl.c
+++ b/
gst-libs/gst/gl/gstglsl.c
@@
-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))