ETC2 feature check for metal

This commit is contained in:
HALX99 2020-09-01 00:03:49 +08:00 committed by GitHub
parent 5e0e017b2a
commit 4d9206e402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 c4games.com
http://www.cocos2d-x.org
@ -428,6 +429,7 @@ bool DeviceInfoMTL::checkForFeatureSupported(FeatureType feature)
featureSupported = supportPVRTC(_featureSet);
break;
case FeatureType::ETC1:
case FeatureType::ETC2:
featureSupported = supportEACETC(_featureSet);
break;
case FeatureType::S3TC: