[SDL] Downsizing resources

Alberto Luaces aluaces at udc.es
Mon Nov 5 07:08:05 PST 2007


El Monday 05 November 2007 13:42:52 Miguel Pragier escribió:
> At present, I work on 32 bits PNG images.
>
> The original 32 MB of PNG files, takes 110 MBs RAM, when the game runs..
>
> Would anyone know a way to downsize this consume?

Load only an image when you need it, delete it as soon as you aren't using it.


More information about the SDL mailing list