--- /opt/cocos2d-x/cocos/renderer/ccShader_CameraClear.vert 2016-12-29 13:42:38.000000000 -0400 +++ /tmp/ccShader_CameraClear.vert 2017-01-04 15:03:03.856707806 -0400 @@ -1,18 +1,18 @@ -const char* ccCameraClearVert = R"( +const char* ccCameraClearVert = STRINGIFY( uniform float depth; attribute vec4 a_position; attribute vec2 a_texCoord; attribute vec3 a_color; -#ifdef GL_ES +\n#ifdef GL_ES\n varying mediump vec2 v_texCoord; varying mediump vec3 v_color; -#else +\n#else\n varying vec2 v_texCoord; varying vec3 v_color; -#endif +\n#endif\n void main() { gl_Position = a_position; @@ -21,4 +21,4 @@ v_texCoord = a_texCoord; v_color = a_color; } -)"; +);