Use linear filtering

Anisotropic filtering makes no sense for scrcpy use case.

This (semantically) reverts 9e328ef98b.
This commit is contained in:
Romain Vimont 2020-02-25 12:18:49 +01:00
parent 96bd2c974d
commit 4794ca8ae7

View file

@ -60,9 +60,9 @@ sdl_init_and_configure(bool display) {
return true;
}
// Use the best available scale quality
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "2")) {
LOGW("Could not enable bilinear filtering");
// Linear filtering
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1")) {
LOGW("Could not enable linear filtering");
}
#ifdef SCRCPY_SDL_HAS_HINT_MOUSE_FOCUS_CLICKTHROUGH