diff options
Diffstat (limited to 'ccShader_PositionTexture.frag.patch')
-rw-r--r-- | ccShader_PositionTexture.frag.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ccShader_PositionTexture.frag.patch b/ccShader_PositionTexture.frag.patch new file mode 100644 index 000000000000..f4571358462a --- /dev/null +++ b/ccShader_PositionTexture.frag.patch @@ -0,0 +1,23 @@ +--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTexture.frag 2016-12-29 13:42:38.000000000 -0400 ++++ /tmp/ccShader_PositionTexture.frag 2017-01-04 15:03:04.556627363 -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); + } +-)"; ++); |