FreeSurface

Greetings,

do i have to call SDL_FreeSurface() on the with SDL_SetVideoMode() created
surface at program exit?
Thank’s in advance
Mike

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

No, but be sure to call SDL_Quit().

–ryan.

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.On Thursday 23 August 2001 19:59, Mike wrote:


Johannes Schmidt

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