Skip to content

Display and control your Android device

Use linear filtering

Romain Vimont4794ca8ae751
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c
index f315ca20..a6c5c26e 100644
--- a/app/src/scrcpy.c
+++ b/app/src/scrcpy.c
@@ -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