gleffects_laplacian: fix shader compilation in gl3/gles2
authorMatthew Waters <matthew@centricular.com>
Tue, 26 May 2015 02:44:47 +0000 (12:44 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:02 +0000 (19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=748393

ext/gl/effects/gstgleffectssources.c

index 0060ff0..b783ced 100644 (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;"