I am having the same problem as this person here:
https://forums.libsdl.org/viewtopic.php?p=46898
Scaling textures by using SDL_RenderCopy and a smaller target Rect is giving pixelated results. If I scale to 50% or larger (75%, 60% etc), it looks decent. But anything smaller, 40%, 30%, 25% etc looks bad and pixelated (sharp pixel edges).
I tried SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, “best”) and SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, “2”) but no matter what I change the scale quality to, it seems to have no effect on the output. 0, 1, and 2 all look the same.
I tried setting SDL_SetHint before/after creating the renderer and also before making the texture.
What could cause this? Thank you!