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.frag.patch | |
parent | 5e1dc36bda2e1684829db29b7749503309549a24 (diff) | |
download | aur-34329dcd851a1aa3054cc5211327c98b17ef07a0.tar.gz |
cocos2d-x V3.14
Diffstat (limited to 'ccShader_PositionTexture_uColor.frag.patch')
-rw-r--r-- | ccShader_PositionTexture_uColor.frag.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ccShader_PositionTexture_uColor.frag.patch b/ccShader_PositionTexture_uColor.frag.patch new file mode 100644 index 000000000000..3fda4a939c2c --- /dev/null +++ b/ccShader_PositionTexture_uColor.frag.patch @@ -0,0 +1,23 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTexture_uColor.frag 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionTexture_uColor.frag 2017-01-04 15:03:05.026573382 -0400 +@@ -23,11 +23,11 @@ + * THE SOFTWARE. + */ + +-const char* ccPositionTexture_uColor_frag = R"( ++const char* ccPositionTexture_uColor_frag = STRINGIFY( + +-#ifdef GL_ES ++\n#ifdef GL_ES\n + precision lowp float; +-#endif ++\n#endif\n + + uniform vec4 u_color; + +@@ -37,4 +37,4 @@ + { + gl_FragColor = texture2D(CC_Texture0, v_texCoord) * u_color; + } +-)"; ++); |