diff options
author | Filippos Karapetis | 2012-01-14 16:37:07 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-01-14 16:37:07 +0200 |
commit | bf6c42d816bd8e6f87c4ecb7459bafcecaf0d010 (patch) | |
tree | f2a531ebf1a401d93a9d44e41e0b44f7c2ee4153 /engines | |
parent | 20bcb0545e72e784b0369d005314fef39432818c (diff) | |
download | scummvm-rg350-bf6c42d816bd8e6f87c4ecb7459bafcecaf0d010.tar.gz scummvm-rg350-bf6c42d816bd8e6f87c4ecb7459bafcecaf0d010.tar.bz2 scummvm-rg350-bf6c42d816bd8e6f87c4ecb7459bafcecaf0d010.zip |
SCI: Don't clip the plane rectangle in kernelDeletePlane()
The actual cause for this clipping has been fixed
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 1402dc9e4d..e3fac80f7c 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -195,10 +195,6 @@ void GfxFrameout::kernelDeletePlane(reg_t object) { planeRect.left = (planeRect.left * screenRect.width()) / _scriptsRunningWidth; planeRect.bottom = (planeRect.bottom * screenRect.height()) / _scriptsRunningHeight; planeRect.right = (planeRect.right * screenRect.width()) / _scriptsRunningWidth; - planeRect.clip(screenRect); // we need to do this, at least in gk1 on cemetary we get bottom right -> 201, 321 - // FIXME: The code above incorrectly added 1 pixel to the plane's - // bottom and right, so probably the plane clipping code is no - // longer necessary // Blackout removed plane rect _paint32->fillRect(planeRect, 0); return; |