mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
VideoCommon: draw editor UI on screen when it is enabled
This commit is contained in:
parent
0c8626d7cc
commit
338854fa41
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "VideoCommon/AbstractPipeline.h"
|
||||
#include "VideoCommon/AbstractShader.h"
|
||||
#include "VideoCommon/FramebufferShaderGen.h"
|
||||
#include "VideoCommon/GraphicsModEditor/EditorMain.h"
|
||||
#include "VideoCommon/NetPlayChatUI.h"
|
||||
#include "VideoCommon/NetPlayGolfUI.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
@ -312,6 +313,13 @@ void OnScreenUI::DrawDebugText()
|
|||
ImGui::End();
|
||||
}
|
||||
|
||||
auto& system = Core::System::GetInstance();
|
||||
auto& graphics_mod_editor = system.GetGraphicsModEditor();
|
||||
if (graphics_mod_editor.IsEnabled())
|
||||
{
|
||||
graphics_mod_editor.DrawImGui();
|
||||
}
|
||||
|
||||
if (g_ActiveConfig.bOverlayStats)
|
||||
g_stats.Display();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue