MTLUtil: Remove availability check for macOS 10.15

This commit is contained in:
OatmealDome 2025-04-01 15:19:30 -04:00
parent dc8865718e
commit 0bc33fb6df

View file

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