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
This commit is contained in:
@@ -3239,8 +3239,6 @@ bool SDLTest_DrawCharacter(SDL_Renderer *renderer, float x, float y, Uint32 c)
|
|||||||
if (cache->charTextureCache[ci] == NULL) {
|
if (cache->charTextureCache[ci] == NULL) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetTextureScaleMode(cache->charTextureCache[ci], SDL_SCALEMODE_NEAREST);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user