2 Copyright 2009-2014, The AROS Development Team. All rights reserved.
6 #include "arosmesa_funcs.h"
7 #include <proto/exec.h>
9 AROSMesaContext
AROSMesaGetCurrentContext();
11 /*****************************************************************************
15 AROS_LH0(AROSMesaContext
, AROSMesaGetCurrentContext
,
20 struct Library
*, MesaBase
, 10, Mesa
)
23 Returns the currently selected GL rendering context.
28 The GL rendering context which is currently active.
36 *****************************************************************************/
40 return AROSMesaGetCurrentContext();
45 AROSMesaContext
AROSMesaGetCurrentContext()
47 GET_CURRENT_CONTEXT(ctx
);
49 return (AROSMesaContext
)ctx
;