blob: 3487e252d0cd27b249e492e14c8f80b2ce641904 (
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_PositionTextureColorAlphaTest.frag 2017-03-22 15:13:34.000000000 -0400
+++ /tmp/ccShader_PositionTextureColorAlphaTest.frag 2017-04-21 06:42:24.141813883 -0400
@@ -22,11 +22,11 @@
* THE SOFTWARE.
*/
-const char* ccPositionTextureColorAlphaTest_frag = R"(
+const char* ccPositionTextureColorAlphaTest_frag = STRINGIFY(
-#ifdef GL_ES
+\n#ifdef GL_ES\n
precision lowp float;
-#endif
+\n#endif\n
varying vec4 v_fragmentColor;
varying vec2 v_texCoord;
@@ -44,4 +44,4 @@
gl_FragColor = texColor * v_fragmentColor;
}
-)";
+);
|