FullscreenUI: Fix debug windows not drawing

This commit is contained in:
Connor McLaughlin
2021-02-01 00:50:47 +10:00
parent 51babf4009
commit 18405a713c
2 changed files with 11 additions and 3 deletions

View File

@ -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();