summarylogtreecommitdiffstats
path: root/ccShader_3D_Color.frag.patch
blob: 4ef0621f899e1d1a4daa9b09cf57d5498bc91cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
 }
-)";
+);