Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / cgxvideo / DeleteVLayerHandle.c
blob88188f59fb706ffcc19c42201f3e1aa102e9dd1e
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
5 #include <aros/debug.h>
6 #include <hidd/graphics.h>
8 #include "cgxvideo_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <clib/cgxvideo_protos.h>
15 AROS_LH1(void, DeleteVLayerHandle,
17 /* SYNOPSIS */
18 AROS_LHA(struct VLayerHandle *, VLayerHandle, A0),
20 /* LOCATION */
21 struct Library *, CGXVideoBase, 6, Cgxvideo)
23 /* FUNCTION
24 Deletes a created video layer handle
26 INPUTS
27 VLayerHandle - pointer to a previously created videolayer handle
29 RESULT
30 none
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 HISTORY
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 HIDD_Gfx_DisposeOverlay(VLayerHandle->drv, VLayerHandle->obj);
50 AROS_LIBFUNC_EXIT
51 } /* DeleteVLayerHandle */