[SDL] please help, SDL ttf IS eating up all my memory =(

Bill Kendrick nbs at sonic.net
Thu Apr 1 12:48:00 PST 2004


On Thu, Apr 01, 2004 at 08:39:06PM +0000, Graveyard Filla wrote:
> high,
> 
> sorry for the double "post". but i just confirmed that my function does 
> indeed eat up memory.

Just glancing, I think you want to free once you're done blitting.
Otherwise, you're keeping a copy of EVERY surface you create with the
TTF Render call ;)

-bill!




More information about the SDL mailing list