1 #include "coregl_export.h"
3 #define _COREGL_SYMBOL(RET_TYPE, FUNC_NAME, PARAM_LIST) RET_TYPE (*ovr_##FUNC_NAME) PARAM_LIST = NULL;
4 #include "headers/sym.h"
7 #include "coregl_internal.h"
8 #include "coregl_export.h"
12 int export_initialized = 0;
13 static int api_gl_version;
18 #define _COREGL_START_API(version) api_gl_version = version;
19 #define _COREGL_END_API(version) api_gl_version = COREGL_GLAPI_2;
21 if(api_gl_version<=driver_gl_version) COREGL_OVERRIDE_API(ovr_, f, _sym_)
23 #define _COREGL_SYMBOL(RET_TYPE, FUNC_NAME, PARAM_LIST) OVERRIDE(FUNC_NAME);
24 # include "headers/sym_egl.h"
27 #define _COREGL_SYMBOL(RET_TYPE, FUNC_NAME, PARAM_LIST) OVERRIDE(FUNC_NAME);
28 # include "headers/sym_gl.h"
32 #undef _COREGL_START_API
33 #undef _COREGL_END_API