This fixes an issue with macOS 10.14+ (Mojave) where the screen
was completely black.
This fixes an issue with mac 10.15+ (Catalina) where the screen
was rendered at 25% the size with the rest being red.
Release notes
- SDL 2.0.6
- SDL 2.0.7
- SDL 2.0.8
- macOS: Add support for the Vulkan SDK.
- macOS: Add a Metal 2D render implementation.
- SDL 2.0.9
- macOS: Fix black screen at start on Mac OS 10.14 Mojave.
- SDL 2.0.10
- SDL 2.0.11 (no release notes published)
- SDL 2.0.12
Impact
The comments on #5341 and D1671 suggest this upgrade would
impact our macOS compatibility range. As I understand it, this
is not the case. In so far that the aboce SDL releases did not
drop support for any macOS version. SDL still suports macOS 10.6
even, same as before. (0AD requires macOS 10.9+ currently.)
However, if I understand the comments correctly, there might be
a compile-time decision introduced with SDL 2.0.8 or SDL 2.0.9,
that makes it no longer possible to build a single binary
from an older or newer macOS install and then run that on the
full range of supported macOS versions. If that is indeed the
case, then we would not need to change anything in our code
per se. It will still run out of the box on old macOS 10.11,
such as we use in CI, and still run out of the box on latest
macOS 10.15 for developers.
But, we might need to start creating two bundles for the
official releases (e.g. one created on and for older macOS,
and one created on and for newer macOS).
Fixes #5341, #5777.