revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / gallium / destroypipescreen.c
blob33e76bcbbc8447ae854284773edcaf6c86edc55f
1 /*
2 Copyright 2010-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "gallium_intern.h"
8 /*****************************************************************************
10 NAME */
12 AROS_LH2(void, DestroyPipeScreen,
14 /* SYNOPSIS */
15 AROS_LHA(PipeHandle_t, pipe, A0),
16 AROS_LHA(struct pipe_screen *, pscreen, A1),
18 /* LOCATION */
19 struct Library *, GalliumBase, 8, Gallium)
21 /* FUNCTION
22 Disposes the pipe screen
24 INPUTS
25 handle - a pointer to pipe screen structure. A NULL pointer will be
26 ignored.
28 RESULT
29 The pipe screen is freed. Don't use it anymore.
31 BUGS
33 INTERNALS
35 HISTORY
37 *****************************************************************************/
39 AROS_LIBFUNC_INIT
41 if (pscreen)
43 pscreen->destroy(pscreen);
46 AROS_LIBFUNC_EXIT