Added support for linear and pixel art scaling for palettized textures

This commit is contained in:
Sam Lantinga committed 2025-10-04 15:12:08 -07:00
1 parent e1fde46a6a
commit 134b47730b
43 files changed
+11348 -7598

No files matched your search

-1
View File
@@ -1234,7 +1234,6 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureBlendMode(SDL_Texture *texture, S
* The default texture scale mode is SDL_SCALEMODE_LINEAR.
*
* If the scale mode is not supported, the closest supported mode is chosen.
* Palettized textures will always use SDL_SCALEMODE_NEAREST.
*
* \param texture the texture to update.
* \param scaleMode the SDL_ScaleMode to use for texture scaling.