Freeing Resources

  1. procedure SDL_FreeSurface(surface : PSDL_Surface);

    This procedure frees the resources used by a previously created SDL_Surface. An example of its use follows.

  2. procedure SDL_Quit

    Call this procedure simply by the instruction SDL_Quit, usually at the end of the program.

Programming - a skill for life!

Descriptions and demonstrations of SDL procedures and functions