diff options
Diffstat (limited to 'ccShader_3D_Color.frag.patch')
-rw-r--r-- | ccShader_3D_Color.frag.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ccShader_3D_Color.frag.patch b/ccShader_3D_Color.frag.patch new file mode 100644 index 000000000000..4ef0621f899e --- /dev/null +++ b/ccShader_3D_Color.frag.patch @@ -0,0 +1,23 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_3D_Color.frag 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_3D_Color.frag 2017-01-04 15:03:03.130124792 -0400 +@@ -1,15 +1,15 @@ + +-const char* cc3D_Color_frag = R"( ++const char* cc3D_Color_frag = STRINGIFY( + +-#ifdef GL_ES ++\n#ifdef GL_ES\n + varying lowp vec4 DestinationColor; +-#else ++\n#else\n + varying vec4 DestinationColor; +-#endif ++\n#endif\n + uniform vec4 u_color; + + void main(void) + { + gl_FragColor = u_color; + } +-)"; ++); |