1
Graphics / Re: Is there any way to have sf::Text not cache the new font texture into memory whe
« on: November 21, 2024, 09:15:54 pm »
Instead of completely reloading the font from file, you could make a copy of the sf::Font instance before rendering characters, and use it to reset your working sf::Font instance from time to time by assigning to it. This will reuse the same underlying FreeType objects under the hood but start with new empty textures.