summaryrefslogtreecommitdiffstats
path: root/platform/ios/godot_view.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/godot_view.mm')
-rw-r--r--platform/ios/godot_view.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/ios/godot_view.mm b/platform/ios/godot_view.mm
index 4c9a75fdc0..ff8a4f8921 100644
--- a/platform/ios/godot_view.mm
+++ b/platform/ios/godot_view.mm
@@ -82,10 +82,10 @@ static const float earth_gravity = 9.80665;
layer = [GodotMetalLayer layer];
#endif
} else if ([driverName isEqualToString:@"opengl3"]) {
- if (@available(iOS 13, *)) {
- NSLog(@"OpenGL ES is deprecated on iOS 13");
- }
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations" // OpenGL is deprecated in iOS 12.0
layer = [GodotOpenGLLayer layer];
+#pragma clang diagnostic pop
} else {
return nil;
}