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
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 9 additions and 9 deletions

View file

@ -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.