wip - import hostgl from abi v0 and adapt to abi v1/GL.library ABI
[AROS.git] / arch / all-hosted / libs / hostgl / hostgl_glagetcurrentcontext.c
blob70d45aa5e3ab2376253727c59086f119c590bf55
1 /*
2 Copyright 2011-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "hostgl_ctx_manager.h"
7 #include <proto/exec.h>
9 /*****************************************************************************
11 NAME */
13 GLAContext glAGetCurrentContext(
15 /* SYNOPSIS */
18 /* FUNCTION
19 Returns the currently selected GL rendering context.
21 INPUTS
23 RESULT
24 The GL rendering context which is currently active.
26 BUGS
28 INTERNALS
30 HISTORY
32 *****************************************************************************/
34 return HostGL_GetCurrentContext();