[client] overlay: don't use the internal function directly for config

This commit is contained in:
Geoffrey McRae 2021-08-05 00:57:54 +10:00
parent 6c44bbb53e
commit ff01a197f3

View file

@ -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;
}