port: add a config option to disable texture filtering on fonts

This commit is contained in:
Phnod committed 2023-09-01 00:02:47 -04:00
1 parent e883144a76
commit 9eb3ffcc30
3 files changed
+15 -1

No files matched your search

+6 -1
View File
@@ -394,7 +394,12 @@ Gfx *text0f153628(Gfx *gdl)
}
#endif
else {
gDPSetTextureFilter(gdl++, G_TF_BILERP);
if (videoGetFontTextureFilter() == 0) {
gDPSetTextureFilter(gdl++, G_TF_POINT);
}
else {
gDPSetTextureFilter(gdl++, G_TF_BILERP);
}
}
return gdl;