[Scummvm-git-logs] scummvm master -> def88b7baed7b776dba0a869121bdb2c1d89ad96
athrxx
noreply at scummvm.org
Tue Nov 16 19:48:39 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
def88b7bae BACKENDS: (SURFACESDL) - improve comment
Commit: def88b7baed7b776dba0a869121bdb2c1d89ad96
https://github.com/scummvm/scummvm/commit/def88b7baed7b776dba0a869121bdb2c1d89ad96
Author: athrxx (athrxx at scummvm.org)
Date: 2021-11-16T20:48:04+01:00
Commit Message:
BACKENDS: (SURFACESDL) - improve comment
(we don't have "shake views" - these changes of mine come from a long-abandoned experimental branch which allowed limiting the screen shaking to a certain area)
Changed paths:
backends/graphics/surfacesdl/surfacesdl-graphics.cpp
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 0487907bd8..dfaef30ba5 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -2143,8 +2143,8 @@ void SurfaceSdlGraphicsManager::drawMouse() {
hotY = _mouseCurState.rHotY;
}
- // The offsets must be applied if no shake view is set, since the call
- // to convertWindowToVirtual() counteracts the move of the view port.
+ // The offsets must be applied, since the call to convertWindowToVirtual()
+ // counteracts the move of the view port.
dst.x += _gameScreenShakeXOffset;
dst.y += _gameScreenShakeYOffset;
More information about the Scummvm-git-logs
mailing list