diff options
Diffstat (limited to 'ccShader_PositionTextureColor_noMVP.vert.patch')
-rw-r--r-- | ccShader_PositionTextureColor_noMVP.vert.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ccShader_PositionTextureColor_noMVP.vert.patch b/ccShader_PositionTextureColor_noMVP.vert.patch new file mode 100644 index 000000000000..b03e394cddb3 --- /dev/null +++ b/ccShader_PositionTextureColor_noMVP.vert.patch @@ -0,0 +1,31 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTextureColor_noMVP.vert 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionTextureColor_noMVP.vert 2017-01-04 15:03:04.983245021 -0400 +@@ -23,18 +23,18 @@ + * THE SOFTWARE. + */ + +-const char* ccPositionTextureColor_noMVP_vert = R"( ++const char* ccPositionTextureColor_noMVP_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() + { +@@ -42,4 +42,4 @@ + v_fragmentColor = a_color; + v_texCoord = a_texCoord; + } +-)"; ++); |