SDL_HINT_RENDER_VSYNC
A hint that specifies whether sync to vertical refresh is enabled or disabled in SDL_CreateRenderer() to avoid tearing.
Values
0 |
disable vsync |
1 |
enable vsync |
Default
By default SDL uses the flag passed into SDL_CreateRenderer().
Code Examples
You can add your code example here
Remarks
This hint overrides SDL_RENDERER_PRESENTVSYNC in SDL_CreateRenderer().
If framebuffer acceleration is enabled this will affect the surface returned by SDL_SetVideoMode().
