Core: Purge WITH_IMGUI define

This commit is contained in:
Connor McLaughlin
2022-03-26 23:09:28 +10:00
parent d5128a5ea9
commit fd76f437b3
10 changed files with 8 additions and 40 deletions

View File

@ -5,14 +5,12 @@
#include "common/platform.h"
#include "common/state_wrapper.h"
#include "dma.h"
#include "imgui.h"
#include "interrupt_controller.h"
#include "settings.h"
#include "spu.h"
#include "system.h"
#include <cmath>
#ifdef WITH_IMGUI
#include "imgui.h"
#endif
Log_SetChannel(CDROM);
#if defined(CPU_X64)
@ -2722,7 +2720,6 @@ void CDROM::ClearSectorBuffers()
void CDROM::DrawDebugWindow()
{
#ifdef WITH_IMGUI
static const ImVec4 active_color{1.0f, 1.0f, 1.0f, 1.0f};
static const ImVec4 inactive_color{0.4f, 0.4f, 0.4f, 1.0f};
const float framebuffer_scale = ImGui::GetIO().DisplayFramebufferScale.x;
@ -2919,5 +2916,4 @@ void CDROM::DrawDebugWindow()
}
ImGui::End();
#endif
}