summarylogtreecommitdiffstats
path: root/ccShader_PositionTexture.frag.patch
blob: f1d5febea7ccb957a4bb53b59fc12b901cb849c2 (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_PositionTexture.frag	2017-03-22 15:13:34.000000000 -0400
+++ /tmp/ccShader_PositionTexture.frag	2017-04-21 06:42:23.591810467 -0400
@@ -23,11 +23,11 @@
  * THE SOFTWARE.
  */
 
-const char* ccPositionTexture_frag = R"(
+const char* ccPositionTexture_frag = STRINGIFY(
 
-#ifdef GL_ES
+\n#ifdef GL_ES\n
 precision lowp float;
-#endif
+\n#endif\n
 
 varying vec2 v_texCoord;
 
@@ -35,4 +35,4 @@
 {
     gl_FragColor =  texture2D(CC_Texture0, v_texCoord);
 }
-)";
+);