Fix highp issue in lens shader on gles2
@@ -1,6 +1,14 @@
/* clang-format off */
[vertex]
+#ifdef USE_GLES_OVER_GL
+#define mediump
+#define highp
+#else
+precision highp float;
+precision highp int;
+#endif
+
attribute highp vec2 vertex; // attrib:0
/* clang-format on */
@@ -20,6 +28,14 @@ void main() {
[fragment]
+precision mediump float;
uniform sampler2D source; //texunit:0