[client] main: increase render graph max scale to 10ms

Some GPUs (like my K1200) easly exceed 2ms on the render time making
this graph useless.
This commit is contained in:
Geoffrey McRae 2021-08-07 01:31:21 +10:00
parent 3d29967a8d
commit 0ec66ba210

View File

@ -831,7 +831,7 @@ static int lg_run(void)
g_state.renderDuration = ringbuffer_new(256, sizeof(float)); g_state.renderDuration = ringbuffer_new(256, sizeof(float));
overlayGraph_register("FRAME" , g_state.renderTimings , 0.0f, 50.0f); overlayGraph_register("FRAME" , g_state.renderTimings , 0.0f, 50.0f);
overlayGraph_register("UPLOAD", g_state.uploadTimings , 0.0f, 50.0f); overlayGraph_register("UPLOAD", g_state.uploadTimings , 0.0f, 50.0f);
overlayGraph_register("RENDER", g_state.renderDuration, 0.0f, 2.0f); overlayGraph_register("RENDER", g_state.renderDuration, 0.0f, 10.0f);
initImGuiKeyMap(g_state.io->KeyMap); initImGuiKeyMap(g_state.io->KeyMap);