[Scummvm-git-logs] scummvm master -> 1e4d4fd42ef6a21176a7efb1a99c7dd5ebcb9dda
sev-
noreply at scummvm.org
Sat Apr 19 16:47:31 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
1e4d4fd42e DIRECTOR: Fix compilation with ImGui disabled
Commit: 1e4d4fd42ef6a21176a7efb1a99c7dd5ebcb9dda
https://github.com/scummvm/scummvm/commit/1e4d4fd42ef6a21176a7efb1a99c7dd5ebcb9dda
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-04-19T18:46:57+02:00
Commit Message:
DIRECTOR: Fix compilation with ImGui disabled
Changed paths:
engines/director/window.cpp
diff --git a/engines/director/window.cpp b/engines/director/window.cpp
index 66396cac7cb..f0ee7a437a9 100644
--- a/engines/director/window.cpp
+++ b/engines/director/window.cpp
@@ -232,9 +232,11 @@ bool Window::render(bool forceRedraw, Graphics::ManagedSurface *blitTo) {
}
}
+#ifdef USE_IMGUI
int selectedChannel = DT::getSelectedChannel();
if (selectedChannel > 0)
Window::drawChannelBox(_currentMovie, blitTo, selectedChannel);
+#endif
if (g_director->_debugDraw & kDebugDrawCast) {
const Graphics::Font *font = FontMan.getFontByUsage(Graphics::FontManager::kConsoleFont);
More information about the Scummvm-git-logs
mailing list