make directory name inline with other tests
[AROS.git] / workbench / libs / mesa / src / gallium / state_trackers / arosmesa / arosmesa_init.c
blobf89c41e199aaef8c8b7613925fdd495e853810a9
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/symbolsets.h>
8 #include "state_tracker/st_gl_api.h"
9 #include "state_tracker/st_api.h"
11 /* This is a global GL API object */
12 /* TODO: Should be moved to LIBBASE */
13 struct st_api * glstapi;
15 LONG AROSMesaInit()
17 glstapi = st_gl_api_create();
18 if (glstapi)
19 return 1;
20 else
21 return 0;
25 VOID AROSMesaExit()
27 if (glstapi) glstapi->destroy(glstapi);
30 ADD2INIT(AROSMesaInit, 5);
31 ADD2EXIT(AROSMesaExit, 5);