Skip to content

Commit

Permalink
remove anisotropic filtering menu setting and bilinear filtering option
Browse files Browse the repository at this point in the history
They're practically irrelevant these days, and if it matters to someone
they can change them in the OSD.
  • Loading branch information
jonof committed Oct 30, 2022
1 parent a1073b6 commit c2a8dbf
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions src/menues.c
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ if (PLUTOPAK) {

c = (320>>1)-120;
#if USE_POLYMOST && USE_OPENGL
i = 7;
i = 6;
#else
i = 5;
#endif
Expand Down Expand Up @@ -2425,20 +2425,13 @@ if (PLUTOPAK) {
case 5: // Filtering.
if (bpp==8) break;
switch (gltexfiltermode) {
case 0: gltexfiltermode = 3; break;
case 0: gltexfiltermode = 5; break;
case 3: gltexfiltermode = 5; break;
case 5: gltexfiltermode = 0; break;
default: gltexfiltermode = 3; break;
default: gltexfiltermode = 5; break;
}
gltexapplyprops();
break;

case 6: // Anisotropy.
if (bpp==8) break;
glanisotropy *= 2;
if (glanisotropy > glinfo.maxanisotropy) glanisotropy = 1;
gltexapplyprops();
break;
#endif
}
if (changesmade) {
Expand Down Expand Up @@ -2502,11 +2495,6 @@ if (PLUTOPAK) {
default: strcpy(buf,"OTHER"); break;
}
menutext(c+154,50+62+16+16,0,bpp==8,buf);

menutext(c,50+62+16+16+16,0,bpp==8,"ANISOTROPY");
if (glanisotropy == 1) strcpy(buf,"NONE");
else sprintf(buf,"%d-tap",glanisotropy);
menutext(c+154,50+62+16+16+16,0,bpp==8,buf);
#endif
break;

Expand Down

0 comments on commit c2a8dbf

Please sign in to comment.