mirror of https://github.com/axmolengine/axmol.git
ETC2 feature check for metal
This commit is contained in:
parent
5e0e017b2a
commit
4d9206e402
|
@ -1,5 +1,6 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
|
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
|
||||||
|
Copyright (c) 2020 c4games.com
|
||||||
|
|
||||||
http://www.cocos2d-x.org
|
http://www.cocos2d-x.org
|
||||||
|
|
||||||
|
@ -428,6 +429,7 @@ bool DeviceInfoMTL::checkForFeatureSupported(FeatureType feature)
|
||||||
featureSupported = supportPVRTC(_featureSet);
|
featureSupported = supportPVRTC(_featureSet);
|
||||||
break;
|
break;
|
||||||
case FeatureType::ETC1:
|
case FeatureType::ETC1:
|
||||||
|
case FeatureType::ETC2:
|
||||||
featureSupported = supportEACETC(_featureSet);
|
featureSupported = supportEACETC(_featureSet);
|
||||||
break;
|
break;
|
||||||
case FeatureType::S3TC:
|
case FeatureType::S3TC:
|
||||||
|
|
Loading…
Reference in New Issue