Fix showing debug menu bar / Devtools (#2214)

* Fix showing debug menu bar / Devtools

* Fix
This commit is contained in:
DanielSvoboda authored and GitHub committed 2025-01-22 22:21:41 -03:00
1 parent 81e7e4b216
commit cc2e13873f
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -17,6 +17,8 @@ using namespace DebugStateType;
DebugStateImpl& DebugState = *Common::Singleton<DebugStateImpl>::Instance();
bool DebugStateType::showing_debug_menu_bar = false;
static ThreadID ThisThreadID() {
#ifdef _WIN32
return GetCurrentThreadId();
+2 -2
View File
@@ -35,6 +35,8 @@ class ShaderList;
namespace DebugStateType {
extern bool showing_debug_menu_bar;
enum class QueueType {
dcb = 0,
ccb = 1,
@@ -131,8 +133,6 @@ class DebugStateImpl {
friend class Core::Devtools::Widget::FrameGraph;
friend class Core::Devtools::Widget::ShaderList;
bool showing_debug_menu_bar = false;
std::queue<std::string> debug_message_popup;
std::mutex guest_threads_mutex{};