2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
9 #include <proto/intuition.h>
10 #include "gadtools_intern.h"
12 /*********************************************************************
15 #include <proto/gadtools.h>
17 AROS_LH1(void, FreeVisualInfo
,
20 AROS_LHA(APTR
, vi
, A0
),
23 struct Library
*, GadToolsBase
, 22, GadTools
)
26 FreeVisualInfo() frees a visual info structure created with
30 vi - the visual info structure to free, may be NULL.
47 ***************************************************************************/
53 FreeScreenDrawInfo(((struct VisualInfo
*)vi
)->vi_screen
, ((struct VisualInfo
*)vi
)->vi_dri
);
59 } /* FreeVisualInfo */