Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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