Use linear filtering
Anisotropic filtering makes no sense for scrcpy use case.
This (semantically) reverts 9e328ef98b
.
This commit is contained in:
parent
96bd2c974d
commit
4794ca8ae7
1 changed files with 3 additions and 3 deletions
|
@ -60,9 +60,9 @@ sdl_init_and_configure(bool display) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use the best available scale quality
|
// Linear filtering
|
||||||
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "2")) {
|
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1")) {
|
||||||
LOGW("Could not enable bilinear filtering");
|
LOGW("Could not enable linear filtering");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCRCPY_SDL_HAS_HINT_MOUSE_FOCUS_CLICKTHROUGH
|
#ifdef SCRCPY_SDL_HAS_HINT_MOUSE_FOCUS_CLICKTHROUGH
|
||||||
|
|
Loading…
Reference in a new issue