diff options
Diffstat (limited to 'ccShader_PositionTextureA8Color.vert.patch')
-rw-r--r-- | ccShader_PositionTextureA8Color.vert.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ccShader_PositionTextureA8Color.vert.patch b/ccShader_PositionTextureA8Color.vert.patch new file mode 100644 index 000000000000..9ed1666828b6 --- /dev/null +++ b/ccShader_PositionTextureA8Color.vert.patch @@ -0,0 +1,32 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTextureA8Color.vert 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionTextureA8Color.vert 2017-01-04 15:03:04.726607836 -0400 +@@ -23,19 +23,19 @@ + * THE SOFTWARE. + */ + +-const char* ccPositionTextureA8Color_vert = R"( ++const char* ccPositionTextureA8Color_vert = STRINGIFY( + + attribute vec4 a_position; + attribute vec2 a_texCoord; + attribute vec4 a_color; + +-#ifdef GL_ES ++\n#ifdef GL_ES\n + varying lowp vec4 v_fragmentColor; + varying mediump vec2 v_texCoord; +-#else ++\n#else\n + varying vec4 v_fragmentColor; + varying vec2 v_texCoord; +-#endif ++\n#endif\n + + void main() + { +@@ -43,4 +43,4 @@ + v_fragmentColor = a_color; + v_texCoord = a_texCoord; + } +-)"; ++); |