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: case TriState::Auto:
#if TARGET_OS_OSX #if TARGET_OS_OSX
g_features.manual_buffer_upload = false; g_features.manual_buffer_upload = false;
if (@available(macOS 10.15, *)) if (![device hasUnifiedMemory])
if (![device hasUnifiedMemory]) g_features.manual_buffer_upload = true;
g_features.manual_buffer_upload = true;
#else #else
// All iOS devices have unified memory // All iOS devices have unified memory
g_features.manual_buffer_upload = false; g_features.manual_buffer_upload = false;