} \
else \
{ \
- AST(ovr_##falias != NULL); \
- COREGL_OVERRIDE_API(ovr_, falias, falias, orig_prefix); \
- orig_prefix##falias = NULL; \
+ AST(ovr_##f != NULL); \
+ COREGL_OVERRIDE_API(ovr_, f, orig_prefix); \
+ orig_prefix##f = NULL; \
} \
}
-#define COREGL_OVERRIDE(prefix, f, falias) \
+#define COREGL_OVERRIDE(prefix, f) \
if (enable == 1) \
{ \
- COREGL_OVERRIDE_API(ovr_, f, falias, prefix); \
+ COREGL_OVERRIDE_API(ovr_, f, prefix); \
}
#endif // COREGL_MODULE_H
void
tracepath_apply_overrides_egl(int enable)
{
-#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_INIT_ORIGINAL(_orig_tracepath_, FUNC_NAME, FUNC_NAME);
+#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_INIT_ORIGINAL(_orig_tracepath_, FUNC_NAME);
# include "../../headers/sym_egl.h"
#undef _COREGL_SYMBOL
-#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_OVERRIDE(tracepath_, FUNC_NAME, FUNC_NAME);
+#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_OVERRIDE(tracepath_, FUNC_NAME);
# include "../../headers/sym_egl.h"
#undef _COREGL_SYMBOL
}
void
tracepath_apply_overrides_gl(int enable)
{
-#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_INIT_ORIGINAL(_orig_tracepath_, FUNC_NAME, FUNC_NAME);
-#define _COREGL_EXT_SYMBOL_ALIAS(FUNC_NAME, ALIAS_NAME) COREGL_INIT_ORIGINAL(_orig_tracepath_, FUNC_NAME, ALIAS_NAME);
+#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_INIT_ORIGINAL(_orig_tracepath_, FUNC_NAME);
# include "../../headers/sym_gl.h"
#undef _COREGL_SYMBOL
-#undef _COREGL_EXT_SYMBOL_ALIAS
-#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_OVERRIDE(tracepath_, FUNC_NAME, FUNC_NAME);
-#define _COREGL_EXT_SYMBOL_ALIAS(FUNC_NAME, ALIAS_NAME) COREGL_OVERRIDE(tracepath_, FUNC_NAME, ALIAS_NAME);
+#define _COREGL_SYMBOL(IS_EXTENSION, RET_TYPE, FUNC_NAME, PARAM_LIST) COREGL_OVERRIDE(tracepath_, FUNC_NAME);
# include "../../headers/sym_gl.h"
#undef _COREGL_SYMBOL
}