diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-08 17:51:31 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-08 17:51:31 +0300 |
commit | e7464e7a30a5a8f7bb0e56fdcf66098369ac451a (patch) | |
tree | c04759ba904e0e8b97668537c23bc3b56444e066 /drivers/gles3/storage | |
parent | 660828e7718f041ee6c6317f97ba6e3fd7f31281 (diff) |
Fix macOS and iOS defines in the rendering code.
Diffstat (limited to 'drivers/gles3/storage')
-rw-r--r-- | drivers/gles3/storage/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp index 30b5919526..6cc65e7bb2 100644 --- a/drivers/gles3/storage/config.cpp +++ b/drivers/gles3/storage/config.cpp @@ -64,7 +64,7 @@ Config::Config() { #else float_texture_supported = extensions.has("GL_ARB_texture_float") || extensions.has("GL_OES_texture_float"); etc2_supported = 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. |