mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-23 13:59:49 +00:00
FullscreenUI: Fix debug windows not drawing
This commit is contained in:
parent
51babf4009
commit
18405a713c
@ -263,6 +263,11 @@ public:
|
||||
bool IsTurboEnabled() const { return m_turbo_enabled; }
|
||||
void SetTurboEnabled(bool enabled);
|
||||
|
||||
/// ImGui window drawing.
|
||||
void DrawFPSWindow();
|
||||
void DrawOSDMessages();
|
||||
void DrawDebugWindows();
|
||||
|
||||
protected:
|
||||
enum : u32
|
||||
{
|
||||
@ -369,9 +374,6 @@ protected:
|
||||
|
||||
virtual void DrawImGuiWindows();
|
||||
|
||||
void DrawFPSWindow();
|
||||
void DrawOSDMessages();
|
||||
void DrawDebugWindows();
|
||||
void DoFrameStep();
|
||||
void DoToggleCheats();
|
||||
|
||||
|
@ -264,9 +264,15 @@ void Shutdown()
|
||||
void Render()
|
||||
{
|
||||
if (s_debug_menu_enabled)
|
||||
{
|
||||
DrawDebugMenu();
|
||||
if (System::IsValid())
|
||||
s_host_interface->DrawDebugWindows();
|
||||
}
|
||||
else if (System::IsValid())
|
||||
{
|
||||
DrawStatsOverlay();
|
||||
}
|
||||
|
||||
ImGuiFullscreen::BeginLayout();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user