diff --git a/client/src/overlay/fps.c b/client/src/overlay/fps.c index 9319032f..8f06be22 100644 --- a/client/src/overlay/fps.c +++ b/client/src/overlay/fps.c @@ -54,12 +54,6 @@ static int fps_render(void * udata, bool interactive, struct Rect * windowRects, atomic_load_explicit(&g_state.fps, memory_order_relaxed), atomic_load_explicit(&g_state.ups, memory_order_relaxed)); - if (maxRects == 0) - { - igEnd(); - return -1; - } - ImVec2 size; igGetWindowPos(&pos); igGetWindowSize(&size); diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index cd68b3b0..f36679a5 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -138,12 +138,6 @@ static int graphs_render(void * udata, bool interactive, sizeof(float)); }; - if (maxRects == 0) - { - igEnd(); - return -1; - } - ImVec2 size; igGetWindowPos(&pos); igGetWindowSize(&size);