mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 08:18:59 +08:00
35e53f76a9
When macOS runs under a virtual environment, it is possible that MTLCreateSystemDefaultDevice() does not succeed. Not checking this failure results in a crash down the road. This change allows to skip GPU renderer and use an adequate fallback. Co-authored-by: D.musique <d-musique@users.noreply.github.com>