fix: Build issue when imgui test engine is disabled

This commit is contained in:
WerWolv
2025-06-29 13:22:37 +02:00
parent 6c8d87520c
commit df58afe1a1

View File

@@ -407,8 +407,10 @@ namespace hex {
ImGui::NewFrame();
if (ImGuiExt::ImGuiTestEngine::isEnabled())
ImGuiTestEngine_ShowTestEngineWindows(m_testEngine, nullptr);
#if defined(IMGUI_TEST_ENGINE)
if (ImGuiExt::ImGuiTestEngine::isEnabled())
ImGuiTestEngine_ShowTestEngineWindows(m_testEngine, nullptr);
#endif
TutorialManager::drawTutorial();