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:
Sam Lantinga 2024-02-11 19:07:07 -08:00
parent 20051f805f
commit 2f7c24e4be
6 changed files with 5 additions and 33 deletions

View file

@ -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.
*