From 0894662eff9722568f2243c6bdaee874ad188a3e Mon Sep 17 00:00:00 2001 From: mogemimi Date: Tue, 26 Jul 2016 12:42:43 +0900 Subject: [PATCH] Remove unnecessary 'extern' to prevent compiler warnings --- cocos/renderer/ccShader_ETC1AS_PositionTextureColor.frag | 2 +- cocos/renderer/ccShader_ETC1AS_PositionTextureGray.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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