2 Copyright © 2010-2019, The AROS Development Team. All rights reserved.
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
;
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);
30 D(bug("[MESA3DGL] %s()\n", __func__
));
33 glstapi
->destroy(glstapi
);
36 ADD2INIT(MESA3DGLInit
, 5);
37 ADD2EXIT(MESA3DGLExit
, 5);