pub const SDL_HINT_RENDER_VSYNC: &[u8];
Expand description

A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing.

This variable can be set to the following values:

  • “0”: Disable vsync
  • “1”: Enable vsync

By default SDL does not sync screen surface updates with vertical refresh.