From a464a20d51b965b95298c8ff3bbd738ee05f9d41 Mon Sep 17 00:00:00 2001 From: Phil Krylov Date: Thu, 29 Aug 2024 15:52:17 +0200 Subject: [PATCH] qt64-qtbase: fix building with 10.15 SDK --- aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff b/aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff index 37605c242869f..1a16a609f7399 100644 --- a/aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff +++ b/aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff @@ -43,7 +43,8 @@ Upstream-Status: Inappropriate [violates DRY] caps.baseVertexAndInstance = true; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101500 if (@available(macOS 10.15, *)) - caps.isAppleGPU = [d->dev supportsFamily:MTLGPUFamilyApple7]; +- caps.isAppleGPU = [d->dev supportsFamily:MTLGPUFamilyApple7]; ++ caps.isAppleGPU = [d->dev supportsFamily:MTLGPUFamily(1007)]; // MTLGPUFamilyApple7 +#endif caps.maxThreadGroupSize = 1024; #elif defined(Q_OS_TVOS)