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 committed 2024-02-12 09:54:33 -08:00
1 parent 20051f805f
commit 2f7c24e4be
6 files changed
+5 -33

No files matched your search

+2
View File
@@ -913,6 +913,8 @@ extern DECLSPEC int SDLCALL SDL_GetTextureBlendMode(SDL_Texture *texture, SDL_Bl
/**
* Set the scale mode used for texture scale operations.
*
* The default texture scale mode is SDL_SCALEMODE_LINEAR.
*
* If the scale mode is not supported, the closest supported mode is chosen.
*
* \param texture The texture to update.