1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Remove code relative to obsoleted ETC texture format

Co-authored-by: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>
This commit is contained in:
Rémi Verschelde
2024-02-14 14:43:10 +01:00
parent 907db8eebc
commit e457f41f9b
10 changed files with 6 additions and 21 deletions

View File

@@ -278,7 +278,7 @@ bool Utilities::has_os_feature(const String &p_feature) const {
return true;
}
if ((p_feature == "etc" || p_feature == "etc2") && RD::get_singleton()->texture_is_format_supported_for_usage(RD::DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, RD::TEXTURE_USAGE_SAMPLING_BIT)) {
if (p_feature == "etc2" && RD::get_singleton()->texture_is_format_supported_for_usage(RD::DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, RD::TEXTURE_USAGE_SAMPLING_BIT)) {
return true;
}