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

Fix macOS and iOS defines in the rendering code.

This commit is contained in:
bruvzg
2022-08-08 17:51:31 +03:00
parent 660828e771
commit e7464e7a30
3 changed files with 9 additions and 9 deletions

View File

@@ -290,7 +290,7 @@ bool Utilities::has_os_feature(const String &p_feature) const {
return true;
}
#if !defined(ANDROID_ENABLED) && !defined(IPHONE_ENABLED)
#if !defined(ANDROID_ENABLED) && !defined(IOS_ENABLED)
// Some Android devices report support for S3TC but we don't expect that and don't export the textures.
// This could be fixed but so few devices support it that it doesn't seem useful (and makes bigger APKs).
// For good measure we do the same hack for iOS, just in case.