add place-holder directory for the a3000 wd533c93 scsi controller implementation.
[AROS.git] / workbench / libs / mesa / mesa3dgl_init.c
blob7111eee052ea7f6d1f52be2c426544fe06b7dd3e
1 /*
2 Copyright © 2010-2019, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/debug.h>
8 #include <aros/symbolsets.h>
10 #include "state_tracker/st_gl_api.h"
11 #include "state_tracker/st_api.h"
13 /* This is a global GL API object */
14 /* TODO: Should be moved to LIBBASE */
15 struct st_api * glstapi;
17 LONG MESA3DGLInit()
19 D(bug("[MESA3DGL] %s()\n", __func__));
21 glstapi = st_gl_api_create();
23 D(bug("[MESA3DGL] %s: st_api @ 0x%p\n", __func__, glstapi));
25 return (glstapi != 0);
28 VOID MESA3DGLExit()
30 D(bug("[MESA3DGL] %s()\n", __func__));
32 if (glstapi)
33 glstapi->destroy(glstapi);
36 ADD2INIT(MESA3DGLInit, 5);
37 ADD2EXIT(MESA3DGLExit, 5);