[SDL] FreeSurface

Johannes Schmidt sdl at myrealbox.com
Thu Aug 23 11:40:01 PDT 2001


On Thursday 23 August 2001 19:59, Mike wrote:

> do i have to call SDL_FreeSurface() on the with SDL_SetVideoMode() created
> surface at program exit?

no, you shouldn´t.
SDL_Quit() does the necessary cleaning for the window surface.


-- 
Johannes Schmidt

< http://libufo.sourceforge.net >
< http://m31.sourceforge.net >




More information about the SDL mailing list