(SOLVED)[SDL2] - SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "2"); // Not Working On Win 11/Linux?

Hi,

We’ve started coding our next SDL2 open-source cross-platform project…
(we are using the most recent official SDL2 release from the site)

We are having issues with:

SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, “2”);

Above should enable anti-aliasing, but it does not?
Any ideas? Does not work on both Windows 11 Pro and Manjaro Linux.

You can download the small project below:
(download includes a built EXE for Windows and a makefiile for Linux)

Thanks!

Jesse

https://fallenangelsoftware.com/stuff/files/HTML5GameCreator/Source/HTML5GameCreator.zip

Ok, nevermind…
…we had to place this hint BEFORE we load the test BMP image.

It’s now working on both Windows 11 and Linux.
Thanks!

Jesse