[Scummvm-git-logs] scummvm master -> b390a4a0d8760d90d427840fc1a2901118631325
aquadran
noreply at scummvm.org
Sat Sep 6 08:00:56 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:
b390a4a0d8 WINTERMUTE: Fixed compilation
Commit: b390a4a0d8760d90d427840fc1a2901118631325
https://github.com/scummvm/scummvm/commit/b390a4a0d8760d90d427840fc1a2901118631325
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-06T10:00:51+02:00
Commit Message:
WINTERMUTE: Fixed compilation
Changed paths:
engines/wintermute/ad/ad_scene.cpp
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp
index 68595152f4b..60a6d846f27 100644
--- a/engines/wintermute/ad/ad_scene.cpp
+++ b/engines/wintermute/ad/ad_scene.cpp
@@ -3591,6 +3591,7 @@ bool AdScene::getRegionsAt(int x, int y, AdRegion **regionList, int numRegions)
return STATUS_OK;
}
+#ifdef ENABLE_WME3D
//////////////////////////////////////////////////////////////////////////
Light3D *AdScene::getActiveLight() {
if (_geom && _geom->_activeLight >= 0 && _geom->_activeLight < _geom->_lights.getSize())
@@ -3598,11 +3599,14 @@ Light3D *AdScene::getActiveLight() {
else
return nullptr;
}
+#endif
//////////////////////////////////////////////////////////////////////////
bool AdScene::restoreDeviceObjects() {
+#ifdef ENABLE_WME3D
if (_geom)
_geom->createLights();
+#endif
return STATUS_OK;
}
More information about the Scummvm-git-logs
mailing list