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
@ -843,6 +843,7 @@ const gchar *conv9_fragment_source_gles2 =
|
||||
"uniform sampler2D tex;"
|
||||
"uniform float kernel[9];"
|
||||
"uniform float width, height;"
|
||||
"uniform bool invert;"
|
||||
"void main () {"
|
||||
" float w = 1.0 / width;"
|
||||
" float h = 1.0 / height;"
|
||||
|
Loading…
x
Reference in New Issue
Block a user