Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

SDL_FreeSurface(3) SDL API Reference SDL_FreeSurface(3)

NAME

SDL_FreeSurface - Frees (deletes) a SDL_Surface

SYNOPSIS

#include "SDL.h"
 
void SDL_FreeSurface(SDL_Surface *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.

SEE ALSO

SDL_CreateRGBSurface SDL_CreateRGBSurfaceFrom
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org