Use linear filtering
Anisotropic filtering makes no sense for scrcpy use case.
This (semantically) reverts
@@ -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
