diff options
author | Alyssa Milburn | 2012-08-27 12:30:02 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-08-27 12:30:02 +0200 |
commit | 037920bf76bbf9320b5a96d8f98720e253a0956e (patch) | |
tree | 352d48aa9a49bafbd8215c76a68859c3b6bd0841 /engines | |
parent | addca5d8567717bec3015f7fd0d99a707f96288a (diff) | |
download | scummvm-rg350-037920bf76bbf9320b5a96d8f98720e253a0956e.tar.gz scummvm-rg350-037920bf76bbf9320b5a96d8f98720e253a0956e.tar.bz2 scummvm-rg350-037920bf76bbf9320b5a96d8f98720e253a0956e.zip |
TONY: Fix width of flipped dirty rects.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tony/gfxcore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index 806f4d07bb..406ed8043b 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -931,7 +931,7 @@ void RMGfxSourceBuffer8RLE::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPri width = x1; // Specify the drawn area - bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1, y1 + height)); + bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1 + 1, y1 + height)); for (y = 0; y < height; y++) { // Decompression @@ -1725,7 +1725,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri width = x1; // Specify the drawn area - bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1, y1 + height)); + bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1 + 1, y1 + height)); } else { // Specify the drawn area bigBuf.addDirtyRect(Common::Rect(x1, y1, x1 + width, y1 + height)); |