From 9e25b7f89170b94bb1f9eac70fd3905603a206b6 Mon Sep 17 00:00:00 2001 From: Sads Date: Fri, 12 Jun 2026 21:57:40 +0200 Subject: [PATCH] Textures: bilinear filtering instead of nearest Thumbs get blown up in the detail view while loading and full-res photos get scaled to the screen, so sample them linearly. Co-Authored-By: Claude Fable 5 --- src/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.c b/src/main.c index 7e34c28..18ab881 100644 --- a/src/main.c +++ b/src/main.c @@ -1117,6 +1117,11 @@ static vita2d_texture *req_build_texture(char *err, size_t errlen, int pooled) free(g_req_raw); g_req_raw = NULL; } + /* bilinear, not nearest: thumbs get blown up in the detail view and + * full-res photos get scaled down to the screen */ + if (tex) + vita2d_texture_set_filters(tex, SCE_GXM_TEXTURE_FILTER_LINEAR, + SCE_GXM_TEXTURE_FILTER_LINEAR); return tex; }