pub const SDL_HINT_RENDER_SCALE_QUALITY: &[u8];
Expand description

A variable controlling the scaling quality

This variable can be set to the following values:

  • “0” or “nearest”: Nearest pixel sampling
  • “1” or “linear”: Linear filtering (supported by OpenGL and Direct3D)
  • “2” or “best”: Currently this is the same as “linear”

By default nearest pixel sampling is used