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_PositionColorTextureAsPointsize.vert.patch | |
parent | 5e1dc36bda2e1684829db29b7749503309549a24 (diff) | |
download | aur-34329dcd851a1aa3054cc5211327c98b17ef07a0.tar.gz |
cocos2d-x V3.14
Diffstat (limited to 'ccShader_PositionColorTextureAsPointsize.vert.patch')
-rw-r--r-- | ccShader_PositionColorTextureAsPointsize.vert.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ccShader_PositionColorTextureAsPointsize.vert.patch b/ccShader_PositionColorTextureAsPointsize.vert.patch new file mode 100644 index 000000000000..f2a71f1b9097 --- /dev/null +++ b/ccShader_PositionColorTextureAsPointsize.vert.patch @@ -0,0 +1,31 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionColorTextureAsPointsize.vert 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionColorTextureAsPointsize.vert 2017-01-04 15:03:04.499967205 -0400 +@@ -22,18 +22,18 @@ + * THE SOFTWARE. + */ + +-const char* ccPositionColorTextureAsPointsize_vert = R"( ++const char* ccPositionColorTextureAsPointsize_vert = STRINGIFY( + + attribute vec4 a_position; + attribute vec4 a_color; + + attribute vec2 a_texCoord; + +-#ifdef GL_ES ++\n#ifdef GL_ES\n + varying lowp vec4 v_fragmentColor; +-#else ++\n#else\n + varying vec4 v_fragmentColor; +-#endif ++\n#endif\n + + void main() + { +@@ -41,4 +41,4 @@ + gl_PointSize = a_texCoord.x; + v_fragmentColor = a_color; + } +-)"; ++); |