revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / workbench / libs / mesa / src / gallium / targets / egl-static / st_OpenVG.c
blobaf23dfc6f8d27dfac0a58877a7da1e3079cbc5ec
1 #include <proto/exec.h>
2 #include <proto/vega.h>
3 #include <aros/symbolsets.h>
5 #include "egl_st.h"
7 struct Library * VegaBase = NULL;
9 PUBLIC struct st_api * vg_api_get(void)
11 if (!VegaBase)
12 VegaBase = OpenLibrary("vega.library", 0L);
14 if (VegaBase)
15 return (struct st_api *) GetOpenVGStateTrackerApi();
16 else
17 return NULL;
20 static VOID CloseVega()
22 if (VegaBase)
23 CloseLibrary(VegaBase);
26 ADD2EXPUNGELIB(CloseVega, 5)