A hint that specifies whether sync to vertical refresh is enabled or disabled in SDL_CreateRenderer() to avoid tearing.
0 |
disable vsync |
1 |
enable vsync |
By default SDL uses the SDL_RENDERER_PRESENTVSYNC flag passed into SDL_CreateRenderer().
SDL_HINT_RENDER_VSYNC overrides the SDL_RENDERER_PRESENTVSYNC flag in SDL_CreateRenderer().