SDL/src/gpu/metal
d-musique 35e53f76a9
metal: check success of device creation (#11367)
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>
2024-10-29 12:35:13 -04:00
..
compile_shaders.sh GPU: Cube Arrays (#10800) 2024-09-12 13:41:46 -07:00
Metal_Blit.h GPU: Cube Arrays (#10800) 2024-09-12 13:41:46 -07:00
Metal_Blit.metal GPU: Cube Arrays (#10800) 2024-09-12 13:41:46 -07:00
SDL_gpu_metal.m metal: check success of device creation (#11367) 2024-10-29 12:35:13 -04:00