From 6250385b09c73ef55e151bb1fa241f8a0937d32f Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Wed, 22 Jan 2025 22:00:06 -0300 Subject: [PATCH] Fix --- src/core/debug_state.cpp | 2 ++ src/core/debug_state.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/debug_state.cpp b/src/core/debug_state.cpp index 6508a9875..23ebcbb9b 100644 --- a/src/core/debug_state.cpp +++ b/src/core/debug_state.cpp @@ -17,6 +17,8 @@ using namespace DebugStateType; DebugStateImpl& DebugState = *Common::Singleton::Instance(); +bool DebugStateType::showing_debug_menu_bar = false; + static ThreadID ThisThreadID() { #ifdef _WIN32 return GetCurrentThreadId(); diff --git a/src/core/debug_state.h b/src/core/debug_state.h index 482606979..217efd1a9 100644 --- a/src/core/debug_state.h +++ b/src/core/debug_state.h @@ -35,7 +35,7 @@ class ShaderList; namespace DebugStateType { -static bool showing_debug_menu_bar = false; +extern bool showing_debug_menu_bar; enum class QueueType { dcb = 0,