Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / gallium / destroypipescreen.c
blobc68d0342c33709d87d095df4d73129fe94978ebf
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "gallium_intern.h"
8 /*****************************************************************************
10 NAME */
12 AROS_LH1(void, DestroyPipeScreen,
14 /* SYNOPSIS */
15 AROS_LHA(struct pipe_screen *, screen, A0),
17 /* LOCATION */
18 struct Library *, GalliumBase, 6, Gallium)
20 /* FUNCTION
21 Disposes the pipe screen
23 INPUTS
24 handle - a pointer to pipe screen structure. A NULL pointer will be
25 ignored.
27 RESULT
28 The pipe screen is freed. Don't use it anymore.
30 BUGS
32 INTERNALS
34 HISTORY
36 *****************************************************************************/
38 AROS_LIBFUNC_INIT
40 if (screen)
42 screen->destroy(screen);
45 AROS_LIBFUNC_EXIT