logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_FreeSurface - Frees (deletes) a SDL_Surface

Description

       Frees  the  resources  used  by  a  previously  created  SDL_Surface.  If  the  surface was created using
       SDL_CreateRGBSurfaceFrom then the pixel data is not freed.

Name

       SDL_FreeSurface - Frees (deletes) a SDL_Surface

See Also

SDL_CreateRGBSurfaceSDL_CreateRGBSurfaceFrom

SDL                                          Tue 11 Sep 2001, 23:01                           SDL_FreeSurface(3)

Synopsis

#include"SDL.h"voidSDL_FreeSurface(SDL_Surface*surface);

See Also