mirror of https://github.com/axmolengine/axmol.git
Fix crash of the some Texture2D test case about s3tc on the nexus9(android 5.0.1)
This commit is contained in:
parent
5c5f3dcc79
commit
63eb0d34f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue