From 0bc33fb6df9890569d370c9ccbcfa2e0d0333e42 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 1 Apr 2025 15:19:30 -0400 Subject: [PATCH] MTLUtil: Remove availability check for macOS 10.15 --- Source/Core/VideoBackends/Metal/MTLUtil.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoBackends/Metal/MTLUtil.mm b/Source/Core/VideoBackends/Metal/MTLUtil.mm index 2af02054e1..326b89a765 100644 --- a/Source/Core/VideoBackends/Metal/MTLUtil.mm +++ b/Source/Core/VideoBackends/Metal/MTLUtil.mm @@ -295,9 +295,8 @@ void Metal::Util::PopulateBackendInfoFeatures(const VideoConfig& config, Backend case TriState::Auto: #if TARGET_OS_OSX g_features.manual_buffer_upload = false; - if (@available(macOS 10.15, *)) - if (![device hasUnifiedMemory]) - g_features.manual_buffer_upload = true; + if (![device hasUnifiedMemory]) + g_features.manual_buffer_upload = true; #else // All iOS devices have unified memory g_features.manual_buffer_upload = false;