Skip to content

Weak-link Metal framework to fix macOS <15 launch crash#187

Merged
encounter merged 2 commits into
encounter:mainfrom
SailorSnoW:fix/metal-macos14
May 15, 2026
Merged

Weak-link Metal framework to fix macOS <15 launch crash#187
encounter merged 2 commits into
encounter:mainfrom
SailorSnoW:fix/metal-macos14

Conversation

@SailorSnoW
Copy link
Copy Markdown
Contributor

ff9ca71 introduced a regression on dusklight builds for macOS <15 users as described in this issue TwilitRealm/dusklight#1317

Proposal fix by using a weak-link of Metal, this is the way I found to not have any warning on any version when dealing with shims, MTLLogStateDescriptor resolves directly to NULL on macOS 14.

Tested dusklight builds both on MacOS >15 and <15 with that fix.

@SailorSnoW SailorSnoW changed the title Weak-link Metal framework to fix macOS 14 launch crash Weak-link Metal framework to fix macOS <15 launch crash May 15, 2026
@encounter
Copy link
Copy Markdown
Owner

Thanks!

@encounter encounter merged commit 40913d5 into encounter:main May 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants