[Scummvm-git-logs] scummvm master -> 49f879a7de0fa568477c410fb35259833eaea62e
aquadran
noreply at scummvm.org
Sat Oct 4 09:41:37 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:
49f879a7de WINTERMUTE: 3D renderer has full 2D capability
Commit: 49f879a7de0fa568477c410fb35259833eaea62e
https://github.com/scummvm/scummvm/commit/49f879a7de0fa568477c410fb35259833eaea62e
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-10-04T11:41:33+02:00
Commit Message:
WINTERMUTE: 3D renderer has full 2D capability
Changed paths:
engines/wintermute/base/base_frame.cpp
diff --git a/engines/wintermute/base/base_frame.cpp b/engines/wintermute/base/base_frame.cpp
index d469076bbde..1a3d0bd81f5 100644
--- a/engines/wintermute/base/base_frame.cpp
+++ b/engines/wintermute/base/base_frame.cpp
@@ -81,8 +81,12 @@ bool BaseFrame::draw(int x, int y, BaseObject *registerOwner, float zoomX, float
for (int32 i = 0; i < _subframes.getSize(); i++) {
// filter out subframes unsupported by current renderer
+ //
+ // This is not present in original Lite version of WME.
+ // It's in assumption Lite support only 2D games.
+ // Our 3D renderer has full 2D capability, so not filter 2D only subframes.
if (!allFrames) {
- if ((_subframes[i]->_2DOnly && _game->_useD3D) || (_subframes[i]->_3DOnly && !_game->_useD3D))
+ if (/*(_subframes[i]->_2DOnly && _game->_useD3D) || */(_subframes[i]->_3DOnly && !_game->_useD3D))
continue;
}
res = _subframes[i]->draw(x, y, registerOwner, zoomX, zoomY, precise, alpha, rotate, blendMode);
More information about the Scummvm-git-logs
mailing list