diff --git a/cocos/base/astc.cpp b/cocos/base/astc.cpp index 76c0f1ee5d..0b1e8e3a08 100644 --- a/cocos/base/astc.cpp +++ b/cocos/base/astc.cpp @@ -20,7 +20,7 @@ int store_dds_uncompressed_image(const astc_codec_image* img, const char* filena int store_tga_image(const astc_codec_image* img, const char* tga_filename, int bitness) { return 0; } -extern int ASTC_INIT = 0; +static int ASTC_INIT = 0; uint8_t float2byte(float f) {