We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5362

Summary: Mac OS ARM doesn't build Metal/Vulkan back-end/renderers
Product: SDL Reporter: C.W. Betts <computers57>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.13   
Hardware: ARM   
OS: macOS 10.15   
Attachments: Add Metal support for Apple Silicon Macs.

Description C.W. Betts 2020-11-23 06:00:18 UTC
Created attachment 4534 [details]
Add Metal support for Apple Silicon Macs.

As it is, SDL2's built-in config on macOS for Metal excludes Apple Silicon. This is due to thinking that the 64-bit Mac platform would always be x86_64. My patch fixes this by using the catch-all of 64-bit platforms.
Comment 1 Sam Lantinga 2020-11-24 05:04:04 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/8dad26448e89