--- /opt/cocos2d-x/cocos/renderer/ccShader_Label.vert 2016-12-29 13:42:38.000000000 -0400 +++ /tmp/ccShader_Label.vert 2017-01-04 15:03:04.016689390 -0400 @@ -23,19 +23,19 @@ * THE SOFTWARE. */ -const char* ccLabel_vert = R"( +const char* ccLabel_vert = STRINGIFY( attribute vec4 a_position; attribute vec2 a_texCoord; attribute vec4 a_color; -#ifdef GL_ES +\n#ifdef GL_ES\n varying lowp vec4 v_fragmentColor; varying mediump vec2 v_texCoord; -#else +\n#else\n varying vec4 v_fragmentColor; varying vec2 v_texCoord; -#endif +\n#endif\n void main() { @@ -43,4 +43,4 @@ v_fragmentColor = a_color; v_texCoord = a_texCoord; } -)"; +);