| Summary: | MacCatalyst build failures | ||
|---|---|---|---|
| Product: | SDL | Reporter: | C.W. Betts <computers57> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | macOS 10.15 | ||
| Attachments: |
Mac Catalyst build patch
Set Metal as the default renderer on Mac Catalyst |
||
|
Description
C.W. Betts
2021-01-02 22:58:09 UTC
Poking around, I also discovered that, due to defaulting to OpenGL, none of the example apps will show a screen. For Catalyst, Metal needs to be the default renderer. I edited video.c around line 1477 to make Metal the default renderer on Mac Catalyst and it worked fine. Created attachment 4633 [details]
Set Metal as the default renderer on Mac Catalyst
Another issue I've discovered: The UI is unresponsive (beachball), but it still draws. I don't know how this will interact with games, though. Patch tweaked and added, thanks! https://hg.libsdl.org/SDL/rev/50f265303173 |