[client] overlay: allow registration of runtime configuration options
This commit is contained in:
1 parent
4e81c7f724
commit
f3f0157d3c
4 files changed
+75
-15
No files matched your search
+1
-1
@@ -820,11 +820,11 @@ static int lg_run(void)
|
||||
DEBUG_INFO("Using font: %s", g_state.fontName);
|
||||
|
||||
g_state.overlays = ll_new();
|
||||
app_registerOverlay(&LGOverlayConfig, NULL);
|
||||
app_registerOverlay(&LGOverlayAlert , NULL);
|
||||
app_registerOverlay(&LGOverlayFPS , NULL);
|
||||
app_registerOverlay(&LGOverlayGraphs, NULL);
|
||||
app_registerOverlay(&LGOverlayHelp , NULL);
|
||||
app_registerOverlay(&LGOverlayConfig, NULL);
|
||||
|
||||
// initialize metrics ringbuffers
|
||||
g_state.renderTimings = ringbuffer_new(256, sizeof(float));
|
||||
|
||||
Reference in new issue
Block a user