diff --git a/client/src/overlay/status.c b/client/src/overlay/status.c index 486cb21f..e6692b7a 100644 --- a/client/src/overlay/status.c +++ b/client/src/overlay/status.c @@ -89,7 +89,6 @@ static int status_render(void * udata, bool interactive, struct Rect * windowRec }; int xPos = screen->x - marginX; - bool show = false; for(int i = 0; i < LG_USER_STATUS_MAX; ++i) { OverlayImage * img = &l_image[i]; @@ -100,8 +99,6 @@ static int status_render(void * udata, bool interactive, struct Rect * windowRec if (i == LG_USER_STATUS_RECORDING && !l_recordToggle) goto next; - show = true; - ImDrawList_AddImage( igGetBackgroundDrawList_Nil(), (ImTextureID)img->tex, @@ -121,9 +118,6 @@ next: xPos -= ICON_SIZE + gapX; } - if (!show) - return 0; - *windowRects = rect; return 1; }