commit | 40f5b815531d8efde6e84e784492fb82c875bbf2 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon May 07 19:52:25 2018 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon May 07 19:52:25 2018 -0700 |
tree | 2c655f9cae6910ada4c2fb2ac702e638b10fac9a | |
parent | 31a9517639127bf8716bc958a63441d944de531b [diff] |
Fixed bug 4134 - Render targets lose scale quality after minimizing a fullscreen window Olli-Samuli Lehmus If one creates a window with the SDL_WINDOW_FULLSCREEN_DESKTOP flag, and creates a render target with SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"), and afterwards sets SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "nearest"), after minimizing the window, the scale quality hint is lost on the render target. Textures however do keep their interpolation modes.