mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Removed SDL_HINT_RENDER_SCALE_QUALITY
Textures now default to linear filtering, use SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST) if you want nearest pixel mode instead.
This commit is contained in:
parent
20051f805f
commit
2f7c24e4be
6 changed files with 5 additions and 33 deletions
|
@ -1776,18 +1776,6 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC "SDL_RENDER_PS2_DYNAMIC_VSYNC"
|
||||
|
||||
/**
|
||||
* A variable controlling texture scaling quality.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
* "0" or "nearest" - Nearest pixel sampling. (default)
|
||||
* "1" or "linear" - Linear filtering. (supported by OpenGL and Direct3D)
|
||||
* "2" or "best" - Currently this is the same as "linear".
|
||||
*
|
||||
* This hint should be set before creating a texture.
|
||||
*/
|
||||
#define SDL_HINT_RENDER_SCALE_QUALITY "SDL_RENDER_SCALE_QUALITY"
|
||||
|
||||
/**
|
||||
* A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue