From ff01a197f3e972bc8797aca5e4080375b651da84 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 5 Aug 2021 00:57:54 +1000 Subject: [PATCH] [client] overlay: don't use the internal function directly for config --- client/src/overlay/graphs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index 7e876405..9b84d845 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -22,7 +22,6 @@ #include "cimgui.h" #include "../main.h" -#include "../overlays.h" #include "ll.h" #include "common/debug.h" @@ -65,7 +64,7 @@ static void configCallback(void * udata) static bool graphs_init(void ** udata, void * params) { gs.graphs = ll_new(); - overlayConfig_register("Performance Metrics", configCallback, NULL); + app_overlayConfigRegister("Performance Metrics", configCallback, NULL); return true; }