(C) 1998 AROS - The Amiga Research OS


NAME
#include <intuition/screens.h>
#include <proto/intuition.h>

void FreeScreenBuffer (screen , screenbuffer)

LOCATION
In IntuitionBase at offset 129

SYNOPSIS
struct Screen * screen
struct ScreenBuffer * screenbuffer

FUNCTION
Frees a ScreenBuffer allocated by AllocScreenBuffer() and releases associated resources. You have to call this before closing your screen.

INPUTS
screen
The screen this screenbuffer belongs to
screenbuffer
The screenbuffer obtained by AllocScreenBuffer() It is safe to pass NULL.

RESULT
None.

EXAMPLE

SEE ALSO
AllocScreenBuffer(), ChangeScreenBuffer()

NOTES
When used SB_SCREEN_BITMAP on allocating the ScreenBuffer (ie. the ScreenBuffer only refers to the screen's BitMap) you must FreeScreenBuffer() the ScreenBuffer before closing the screen. Intuition will recognize when FreeScreenBuffer() is called for the currently installed ScreenBuffer that it must not free the BitMap. This is left to the CloseScreen() function.

BUGS

INTERNALS

HISTORY
30.01.1999 hkiel
Added empty skeletons