blob: 9e5297deb968777e09a16219326ef363d66d690d (
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 2017-03-22 15:13:34.000000000 -0400
+++ /tmp/ccShader_3D_Color.frag 2017-04-21 06:42:23.465143013 -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;
}
-)";
+);
|