From 0ec66ba21019d15963e9468d9b5508bc3198729e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 7 Aug 2021 01:31:21 +1000 Subject: [PATCH] [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. --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index 7f5650bd..c4c716b9 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -831,7 +831,7 @@ static int lg_run(void) g_state.renderDuration = ringbuffer_new(256, sizeof(float)); overlayGraph_register("FRAME" , g_state.renderTimings , 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);