mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gleffects_laplacian: fix shader compilation in gl3/gles2
https://bugzilla.gnome.org/show_bug.cgi?id=748393
This commit is contained in:
parent
4e58ec83e0
commit
b53178f724
1 changed files with 1 additions and 0 deletions
|
@ -843,6 +843,7 @@ const gchar *conv9_fragment_source_gles2 =
|
||||||
"uniform sampler2D tex;"
|
"uniform sampler2D tex;"
|
||||||
"uniform float kernel[9];"
|
"uniform float kernel[9];"
|
||||||
"uniform float width, height;"
|
"uniform float width, height;"
|
||||||
|
"uniform bool invert;"
|
||||||
"void main () {"
|
"void main () {"
|
||||||
" float w = 1.0 / width;"
|
" float w = 1.0 / width;"
|
||||||
" float h = 1.0 / height;"
|
" float h = 1.0 / height;"
|
||||||
|
|
Loading…
Reference in a new issue