MACOSX: simplify Retina blurriness workarounds and restore Dark Mode #2714
This is related to bugs #11430 and #11305.
It appears that commit a1d9302 is actually enough to avoid blurriness display issues on Retina screens (i.e. favour OpenGL rendering over Metal rendering inside SDL2, because of interaction problems between macOS on Retina screens and SDL2).
Previous attempts at working around this included disabling Dark Mode (c59bf95) and passing a particular "invalid" argument to the
(Note when manually testing changes to
This works for me with a local Xcode 12.2 build on macOS 11.1, with a quick test of the old builtin theme, which isn't blurry. (I can also test this on my other Retina machine with Mojave if you like, but only in a few weeks.) However, I use newer SDKs than what's used for official builds, so maybe the best way to validate this PR would be to provide an official test build containing it?
And if this PR is accepted, a backport to the