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.
The texture to update.
The SDL_ScaleMode to use for texture scaling.
true on success or false on failure; call SDL_GetError for more information.
Threadsafety: This function should only be called on the main thread.
SDL_GetTextureScaleMode
See Implementation
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.