aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-15 15:11:24 -0500
committerrichiesams2013-08-15 15:11:24 -0500
commitc2366dc99e7028fdf94ec7d020016e674bf33100 (patch)
tree82f5aef9c1f133961e95f100e9a2ca6b5e670b17
parent62043e949d396e0d86515d963fa32b792ab9ec01 (diff)
downloadscummvm-rg350-c2366dc99e7028fdf94ec7d020016e674bf33100.tar.gz
scummvm-rg350-c2366dc99e7028fdf94ec7d020016e674bf33100.tar.bz2
scummvm-rg350-c2366dc99e7028fdf94ec7d020016e674bf33100.zip
ZVISION: Fix error using subRectangle.right instead of .top
-rw-r--r--engines/zvision/render_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index 05536f3fbe..a2ae7e8b28 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -152,7 +152,7 @@ void RenderManager::renderSubRectToBackbuffer(Graphics::Surface &surface, uint32
if (isTransposed) {
copyTransposedRectToBackbuffer((uint16 *)surface.getBasePtr(subRectangle.left, subRectangle.right), surface.w, destRect.left, destRect.top, destRect.width(), destRect.height());
} else {
- _backbuffer.copyRectToSurface(surface.getBasePtr(subRectangle.left, subRectangle.right), surface.pitch, destRect.left, destRect.top, destRect.width(), destRect.height());
+ _backbuffer.copyRectToSurface(surface.getBasePtr(subRectangle.left, subRectangle.top), surface.pitch, destRect.left, destRect.top, destRect.width(), destRect.height());
}
}