Skip to content

Commit

Permalink
qt64-qtbase: fix building with 10.15 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tuffnatty committed Aug 29, 2024
1 parent 31ac6f4 commit a464a20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aqua/qt64/files/patch-qtbase-macos_10.14_sdk.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a464a20

Please sign in to comment.