summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-05-26 12:44:47 +1000
committerMatthew Waters <matthew@centricular.com>2015-05-26 12:50:58 +1000
commitcb482f13bebca0d4a710b386c75066940f31aa0f (patch)
tree231907a118a446ce00063890b01359fb930380ed /ext
parentc1bad1be5d7af242e65ba17b1ca33dae182f6139 (diff)
downloadgstreamer-plugins-bad-cb482f13bebca0d4a710b386c75066940f31aa0f.tar.gz
gleffects_laplacian: fix shader compilation in gl3/gles2
https://bugzilla.gnome.org/show_bug.cgi?id=748393
Diffstat (limited to 'ext')
-rw-r--r--ext/gl/effects/gstgleffectssources.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gl/effects/gstgleffectssources.c b/ext/gl/effects/gstgleffectssources.c
index 0060ff03c..b783ced58 100644
--- a/ext/gl/effects/gstgleffectssources.c
+++ b/ext/gl/effects/gstgleffectssources.c
@@ -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;"