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 <noreply@anthropic.com>
This commit is contained in:
Sads
2026-06-12 21:57:40 +02:00
co-authored by Claude Fable 5
parent 5c1f3ace8e
commit 9e25b7f891
+5
View File
@@ -1117,6 +1117,11 @@ static vita2d_texture *req_build_texture(char *err, size_t errlen, int pooled)
free(g_req_raw); free(g_req_raw);
g_req_raw = NULL; 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; return tex;
} }