From d46724823616d45533d75b9e1851fdea8b73de1b Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Fri, 11 Oct 2019 06:45:27 +0200 Subject: [PATCH] Forgot to initialize overlay's close button --- overlay_experimental/steam_overlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index 6d4fcd8..f6cf843 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -478,7 +478,7 @@ void Steam_Overlay::OverlayProc() ImGui::PushFont(font_default); - bool show; + bool show = true; if (ImGui::Begin("SteamOverlay", &show, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoBringToFrontOnFocus)) {