From 2000ccb541fcd4cc22c1d0c91e09926228782b3a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Oct 2024 21:33:16 -0700 Subject: [PATCH] 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 --- src/test/SDL_test_font.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/SDL_test_font.c b/src/test/SDL_test_font.c index 160fa7b9a7..08d5ff9788 100644 --- a/src/test/SDL_test_font.c +++ b/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); } /*