summarylogtreecommitdiffstats
path: root/ccShader_PositionColorLengthTexture.vert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ccShader_PositionColorLengthTexture.vert.patch')
-rw-r--r--ccShader_PositionColorLengthTexture.vert.patch22
1 files changed, 14 insertions, 8 deletions
diff --git a/ccShader_PositionColorLengthTexture.vert.patch b/ccShader_PositionColorLengthTexture.vert.patch
index af4244e5bf2f..285f03b058fb 100644
--- a/ccShader_PositionColorLengthTexture.vert.patch
+++ b/ccShader_PositionColorLengthTexture.vert.patch
@@ -1,6 +1,6 @@
---- /opt/cocos2d-x/cocos/renderer/ccShader_PositionColorLengthTexture.vert 2016-12-29 13:42:38.000000000 -0400
-+++ /tmp/ccShader_PositionColorLengthTexture.vert 2017-01-04 15:03:04.443307047 -0400
-@@ -19,9 +19,9 @@
+--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionColorLengthTexture.vert 2017-04-12 15:00:32.000000000 -0400
++++ /tmp/ccShader_PositionColorLengthTexture.vert 2017-04-21 06:42:24.495149411 -0400
+@@ -19,13 +19,13 @@
* SOFTWARE.
*/
@@ -9,10 +9,16 @@
-#ifdef GL_ES
+\n#ifdef GL_ES\n
+ precision lowp float;
+-#endif
++\n#endif\n
+
+-#ifdef GL_ES
++\n#ifdef GL_ES\n
attribute mediump vec4 a_position;
attribute mediump vec2 a_texcoord;
attribute mediump vec4 a_color;
-@@ -29,7 +29,7 @@
+@@ -33,7 +33,7 @@
varying mediump vec4 v_color;
varying mediump vec2 v_texcoord;
@@ -21,16 +27,16 @@
attribute vec4 a_position;
attribute vec2 a_texcoord;
-@@ -38,7 +38,7 @@
+@@ -42,7 +42,7 @@
varying vec4 v_color;
varying vec2 v_texcoord;
-#endif
+\n#endif\n
- void main()
- {
-@@ -47,4 +47,4 @@
+ uniform float u_alpha;
+
+@@ -53,4 +53,4 @@
gl_Position = CC_MVPMatrix * a_position;
}