This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

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 SDL_RENDERER_PRESENTVSYNC flag passed into SDL_CreateRenderer().

Remarks

SDL_HINT_RENDER_VSYNC overrides the SDL_RENDERER_PRESENTVSYNC flag in SDL_CreateRenderer().


CategoryDefine, CategoryHints


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.