[Scummvm-git-logs] scummvm master -> 030593928abba33432a18f9f1cef477f92d1e793

bluegr noreply at scummvm.org
Wed Nov 11 23:49:38 UTC 2026


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:
030593928a MACS2: Fix compilation when ImGui is disabled


Commit: 030593928abba33432a18f9f1cef477f92d1e793
    https://github.com/scummvm/scummvm/commit/030593928abba33432a18f9f1cef477f92d1e793
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-11-12T01:49:34+02:00

Commit Message:
MACS2: Fix compilation when ImGui is disabled

Changed paths:
    engines/macs2/view1.cpp


diff --git a/engines/macs2/view1.cpp b/engines/macs2/view1.cpp
index 0a36ea26dbc..2666327ac82 100644
--- a/engines/macs2/view1.cpp
+++ b/engines/macs2/view1.cpp
@@ -2250,6 +2250,8 @@ void View1::drawSceneFrame(bool fullUpdate) {
 
 	drawAllCharacters(&s, fullUpdate);
 	drawOverlayTextEntries();
+
+#ifdef USE_IMGUI
 	if (shouldDrawPathfindingOverlay()) {
 		drawPathfindingPoints(s);
 	}
@@ -2259,6 +2261,7 @@ void View1::drawSceneFrame(bool fullUpdate) {
 	if (shouldDrawDebugOutputOverlay()) {
 		drawDebugOutput(s);
 	}
+#endif
 
 	// Get mouse position
 	Common::Point mousePos = g_system->getEventManager()->getMousePos();




More information about the Scummvm-git-logs mailing list