Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / rom / graphics / deinitrastport.c
bloba6e2a6c1e9060a0aeb6f6ba4405361457866075d
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: AROS Graphics function DeinitRastPort()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include "graphics_intern.h"
10 #include <graphics/rastport.h>
11 #include "gfxfuncsupport.h"
13 void obsolete_DeinitDriverData(struct RastPort *, struct GfxBase *);
15 /*****************************************************************************
17 NAME */
18 #include <proto/graphics.h>
20 AROS_LH1(void, DeinitRastPort,
22 /* SYNOPSIS */
23 AROS_LHA(struct RastPort *, rp, A1),
25 /* LOCATION */
26 struct GfxBase *, GfxBase, 179, Graphics)
28 /* FUNCTION
29 Frees the contents of a RastPort structure. The structure itself
30 is not freed.
32 INPUTS
33 rp - The RastPort which contents are to be freed.
35 RESULT
36 None.
38 NOTES
39 You can initialize the RastPort again via InitRastPort() but
40 you must not use any other graphics function with it before
41 that.
43 EXAMPLE
45 BUGS
47 SEE ALSO
48 InitRastPort()
50 INTERNALS
52 HISTORY
53 29-10-95 digulla automatically created from
54 graphics_lib.fd and clib/graphics_protos.h
56 *****************************************************************************/
58 AROS_LIBFUNC_INIT
60 D(bug("DeInitRastPort()\n"));
62 KillDriverData(rp, GfxBase);
64 AROS_LIBFUNC_EXIT
66 } /* DeinitRastPort */