summaryrefslogtreecommitdiff
path: root/src/dispatch_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dispatch_common.c')
-rw-r--r--src/dispatch_common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index c9bd27f..d66cfca 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -890,6 +890,13 @@ PFNGLENDPROC epoxy_glEnd = epoxy_glEnd_wrapped;
epoxy_resolver_failure_handler_t epoxy_resolver_failure_handler;
+/**
+ * Sets the function that will be called every time Epoxy fails to
+ * resolve a symbol.
+ *
+ * @param handler The new handler function
+ * @return The previous handler function
+ */
epoxy_resolver_failure_handler_t
epoxy_set_resolver_failure_handler(epoxy_resolver_failure_handler_t handler)
{