glshaderstrings: fixup the external-oes fragment shader
authorMatthew Waters <matthew@centricular.com>
Tue, 10 Nov 2015 14:05:20 +0000 (01:05 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 10 Nov 2015 14:27:21 +0000 (01:27 +1100)
The wrong sampler type was used
s/sampler2DExternalOES/samplerExternalOES/

gst-libs/gst/gl/gstglshaderstrings.c

index 3a732c7..729be6f 100644 (file)
@@ -63,7 +63,7 @@ const gchar *gst_gl_shader_string_fragment_external_oes_default =
     "precision mediump float;\n"
     "#endif\n"
     "varying vec2 v_texcoord;\n"
-    "uniform sampler2DExternalOES tex;\n"
+    "uniform samplerExternalOES tex;\n"
     "void main()\n"
     "{\n"
     "  gl_FragColor = texture2D(tex, v_texcoord);\n"