diff options
author | RichieSams | 2013-09-15 14:30:47 -0500 |
---|---|---|
committer | RichieSams | 2013-09-15 15:00:54 -0500 |
commit | 3986f333eff094d3104feae263b42e6e9ed85968 (patch) | |
tree | f39a5e18cfcfe070fab63f738ce23450cb42f259 /engines/zvision | |
parent | 466eba1e9fb271b3d6b3a4e9f02a30a9333f68da (diff) | |
download | scummvm-rg350-3986f333eff094d3104feae263b42e6e9ed85968.tar.gz scummvm-rg350-3986f333eff094d3104feae263b42e6e9ed85968.tar.bz2 scummvm-rg350-3986f333eff094d3104feae263b42e6e9ed85968.zip |
ZVISION: Move dirty rect extension to the correct function
Source control mishap
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/render_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 38807a7457..62580323d3 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -311,6 +311,8 @@ void RenderManager::copyRectToWorkingWindow(const uint16 *buffer, int32 destX, i sourceOffset += imageWidth; } + _workingWindowDirtyRect.extend(Common::Rect(destX, destY, destX + width, destY + height)); +} void RenderManager::copyWorkingWindowSubRectToSurface(Graphics::Surface *destSurface, uint16 destX, uint16 destY, Common::Rect subRect) const { uint32 destOffset = 0; uint32 sourceOffset = 0; @@ -325,7 +327,6 @@ void RenderManager::copyWorkingWindowSubRectToSurface(Graphics::Surface *destSur destOffset += destSurface->w; sourceOffset += _workingWidth; } - _workingWindowDirtyRect.extend(Common::Rect(destX, destY, destX + width, destY + height)); } const Common::Point RenderManager::screenSpaceToImageSpace(const Common::Point &point) { |