Browse Source

Allow linear interpolation of the font textures

With the recent changes to logical presentation, this is necessary for the font to look good when scaled.

Fixes https://github.com/libsdl-org/SDL/issues/11123
Sam Lantinga 6 months ago
parent
commit
2000ccb541
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/test/SDL_test_font.c

+ 0 - 2
src/test/SDL_test_font.c

@@ -3239,8 +3239,6 @@ bool SDLTest_DrawCharacter(SDL_Renderer *renderer, float x, float y, Uint32 c)
         if (cache->charTextureCache[ci] == NULL) {
             return false;
         }
-
-        SDL_SetTextureScaleMode(cache->charTextureCache[ci], SDL_SCALEMODE_NEAREST);
     }
 
     /*