SDL/src/render
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
..
direct3d Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
direct3d11 Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
metal Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
opengl Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
opengles Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
opengles2 Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
psp Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
software SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600) 2021-08-27 07:44:03 +02:00
vitagxm Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
SDL_d3dmath.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_d3dmath.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_render.c Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
SDL_sysrender.h Add `SDL_RenderSetVSync()` 2021-09-14 09:56:29 -07:00
SDL_yuv_sw.c Fix software UpdateNVTexture non fullscreen (bug #5430) 2021-01-05 21:54:03 +01:00
SDL_yuv_sw_c.h Remove old YUV fixme 2021-02-10 10:22:18 -05:00