gleffects_laplacian: fix shader compilation in gl3/gles2

https://bugzilla.gnome.org/show_bug.cgi?id=748393
This commit is contained in:
Matthew Waters 2015-05-26 12:44:47 +10:00 committed by Tim-Philipp Müller
parent 4e58ec83e0
commit b53178f724

View file

@ -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;"