--- /opt/cocos2d-x/cocos/renderer/ccShader_PositionTextureA8Color.frag 2016-12-29 13:42:38.000000000 -0400 +++ /tmp/ccShader_PositionTextureA8Color.frag 2017-01-04 15:03:04.669947678 -0400 @@ -23,11 +23,11 @@ * THE SOFTWARE. */ -const char* ccPositionTextureA8Color_frag = R"( +const char* ccPositionTextureA8Color_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; @@ -38,4 +38,4 @@ v_fragmentColor.a * texture2D(CC_Texture0, v_texCoord).a // A from texture & uniform ); } -)"; +);