SDL/src/render/metal
Misa 4549769d7d Add `SDL_RenderSetVSync()`
Currently, if an application wants to toggle VSync, they'd have to tear
down the renderer and recreate it. This patch fixes that by letting
applications call SDL_RenderSetVSync().

This is the same as the patch in #3673, except it applies to all
renderers (including PSP, even thought it seems that the VSync flag is
disabled for that renderer). Furthermore, the renderer flags also change
as well, which #3673 didn't do. It is also an API instead of using hint
callbacks (which could be potentially dangerous).

Closes #3673.
2021-09-14 09:56:29 -07:00
..
SDL_render_metal.m Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
SDL_shaders_metal.metal Add METAL shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_ios.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_iphonesimulator.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_osx.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_tvos.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_tvsimulator.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
build-metal-shaders.sh Fixed bug 5213 - Add support to metal in iOS/tvOS simulator 2020-12-09 07:23:47 -08:00