[−][src]Function sdl2_sys::SDL_RenderSetIntegerScale
pub unsafe extern "C" fn SDL_RenderSetIntegerScale(
renderer: *mut SDL_Renderer,
enable: SDL_bool
) -> c_int
\brief Set whether to force integer scales for resolution-independent rendering
\param renderer The renderer for which integer scaling should be set. \param enable Enable or disable integer scaling
This function restricts the logical viewport to integer values - that is, when a resolution is between two multiples of a logical size, the viewport size is rounded down to the lower multiple.
\sa SDL_RenderSetLogicalSize()