diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 56e2b4338e..9b9fb737ad 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -167,11 +167,11 @@ #define SDL_VIDEO_RENDER_OGL_ES2 1 /* Metal supported on 64-bit devices running iOS 8.0 and tvOS 9.0 and newer */ -#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM && ((__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 90000)) -#define SDL_PLATFORM_SUPPORTS_METAL 1 -#else +//#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM && ((__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 90000)) +//#define SDL_PLATFORM_SUPPORTS_METAL 1 +//#else #define SDL_PLATFORM_SUPPORTS_METAL 0 -#endif +//#endif #if SDL_PLATFORM_SUPPORTS_METAL #define SDL_VIDEO_RENDER_METAL 1 diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 9641db81fc..884fcbcbb1 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -193,11 +193,11 @@ #ifndef SDL_VIDEO_RENDER_METAL /* Metal only supported on 64-bit architectures with 10.11+ */ -#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) -#define SDL_VIDEO_RENDER_METAL 1 -#else +//#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) +//#define SDL_VIDEO_RENDER_METAL 1 +//#else #define SDL_VIDEO_RENDER_METAL 0 -#endif +//#endif #endif /* Enable OpenGL support */