diff options
author | Wilson E. Alvarez | 2017-01-04 16:44:08 -0400 |
---|---|---|
committer | Wilson E. Alvarez | 2017-01-04 16:44:08 -0400 |
commit | 34329dcd851a1aa3054cc5211327c98b17ef07a0 (patch) | |
tree | e92e62356bb61c441261c11f2846538e5cbd712c /ccShader_PositionTexture_uColor.vert.patch | |
parent | 5e1dc36bda2e1684829db29b7749503309549a24 (diff) | |
download | aur-34329dcd851a1aa3054cc5211327c98b17ef07a0.tar.gz |
cocos2d-x V3.14
Diffstat (limited to 'ccShader_PositionTexture_uColor.vert.patch')
-rw-r--r-- | ccShader_PositionTexture_uColor.vert.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ccShader_PositionTexture_uColor.vert.patch b/ccShader_PositionTexture_uColor.vert.patch new file mode 100644 index 000000000000..97f56e38f6e5 --- /dev/null +++ b/ccShader_PositionTexture_uColor.vert.patch @@ -0,0 +1,28 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTexture_uColor.vert 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionTexture_uColor.vert 2017-01-04 15:03:05.083233554 -0400 +@@ -23,20 +23,20 @@ + * THE SOFTWARE. + */ + +-const char* ccPositionTexture_uColor_vert = R"( ++const char* ccPositionTexture_uColor_vert = STRINGIFY( + + attribute vec4 a_position; + attribute vec2 a_texCoord; + +-#ifdef GL_ES ++\n#ifdef GL_ES\n + varying mediump vec2 v_texCoord; +-#else ++\n#else\n + varying vec2 v_texCoord; +-#endif ++\n#endif\n + + void main() + { + gl_Position = CC_MVPMatrix * a_position; + v_texCoord = a_texCoord; + } +-)"; ++); |