mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Remove code relative to obsoleted ETC texture format
Co-authored-by: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>
This commit is contained in:
@@ -287,7 +287,7 @@ static Ref<Image> load_from_file_access(Ref<FileAccess> f, Error *r_error) {
|
||||
ktxfmt = KTX_TTF_BC7_RGBA;
|
||||
} else if (RS::get_singleton()->has_os_feature("s3tc")) {
|
||||
ktxfmt = KTX_TTF_BC1_RGB;
|
||||
} else if (RS::get_singleton()->has_os_feature("etc")) {
|
||||
} else if (RS::get_singleton()->has_os_feature("etc2")) {
|
||||
ktxfmt = KTX_TTF_ETC1_RGB;
|
||||
} else {
|
||||
ktxfmt = KTX_TTF_RGBA32;
|
||||
|
||||
Reference in New Issue
Block a user