diff --git a/cocos/base/CCConfiguration.cpp b/cocos/base/CCConfiguration.cpp index ca042a1e40..0667ccc8d7 100644 --- a/cocos/base/CCConfiguration.cpp +++ b/cocos/base/CCConfiguration.cpp @@ -221,7 +221,11 @@ bool Configuration::supportsETC() const bool Configuration::supportsS3TC() const { +#ifdef GL_EXT_texture_compression_s3tc return _supportsS3TC; +#else + return false; +#endif } bool Configuration::supportsATITC() const