Fix crash of the some Texture2D test case about s3tc on the nexus9(android 5.0.1)

This commit is contained in:
samuele3hu 2015-06-24 16:11:36 +08:00
parent 5c5f3dcc79
commit 63eb0d34f3
1 changed files with 4 additions and 0 deletions

View File

@ -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