Wiki Page Content

SDL_FreeSurface

Use this function to free an RGB surface.

Syntax

void SDL_FreeSurface(SDL_Surface* surface)

Function Parameters

surface

the SDL_Surface structure to free

Code Examples

You can add your code example here

Remarks

If the surface was created using SDL_CreateRGBSurfaceFrom() then the pixel data is not freed.


CategoryAPI, CategorySurface

None: SDL_FreeSurface (last edited 2011-01-05 20:01:51 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit