Set ERROR_NO_FREE_STORE upon failure if called from a process (this is
[tangerine.git] / rom / graphics / getdrmd.c
blobfef69cc791a8c67455c0171cc03e7ee3113964da
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function GetDrMd()
6 Lang: english
7 */
8 #include "graphics_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <graphics/rastport.h>
14 #include <proto/graphics.h>
16 AROS_LH1(ULONG, GetDrMd,
18 /* SYNOPSIS */
19 AROS_LHA(struct RastPort *, rp, A0),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 145, Graphics)
24 /* FUNCTION
25 Get drawmode value of RastPort.
27 INPUTS
28 rp - RastPort
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 HISTORY
43 29-10-95 digulla automatically created from
44 graphics_lib.fd and clib/graphics_protos.h
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 return rp->DrawMode;
52 AROS_LIBFUNC_EXIT
53 } /* GetDrMd */