Always use the best render scale quality available
Because why not. See <https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY>.
This commit is contained in:
parent
c075ad0a1e
commit
9e328ef98b
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ SDL_bool sdl_init_and_configure(void) {
|
||||||
|
|
||||||
atexit(SDL_Quit);
|
atexit(SDL_Quit);
|
||||||
|
|
||||||
// Bilinear resizing
|
// Use the best available scale quality
|
||||||
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1")) {
|
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "2")) {
|
||||||
LOGW("Could not enable bilinear filtering");
|
LOGW("Could not enable bilinear filtering");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue