diff --git a/cocos/renderer/ccShader_ETC1AS_PositionTextureColor.frag b/cocos/renderer/ccShader_ETC1AS_PositionTextureColor.frag index 9ad13e6afa..e98a4d74d4 100644 --- a/cocos/renderer/ccShader_ETC1AS_PositionTextureColor.frag +++ b/cocos/renderer/ccShader_ETC1AS_PositionTextureColor.frag @@ -23,7 +23,7 @@ * THE SOFTWARE. */ -extern const char* ccETC1ASPositionTextureColor_frag = STRINGIFY( +const char* ccETC1ASPositionTextureColor_frag = STRINGIFY( \n#ifdef GL_ES\n precision mediump float; \n#endif\n diff --git a/cocos/renderer/ccShader_ETC1AS_PositionTextureGray.frag b/cocos/renderer/ccShader_ETC1AS_PositionTextureGray.frag index b764372148..a77641d3ac 100644 --- a/cocos/renderer/ccShader_ETC1AS_PositionTextureGray.frag +++ b/cocos/renderer/ccShader_ETC1AS_PositionTextureGray.frag @@ -23,7 +23,7 @@ * THE SOFTWARE. */ -extern const char* ccETC1ASPositionTextureGray_frag = STRINGIFY( +const char* ccETC1ASPositionTextureGray_frag = STRINGIFY( \n#ifdef GL_ES\n precision mediump float; \n#endif\n