mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
WINTERMUTE: Remove presumably outdated off-by-one correction
This correction no longer seems to be necessary, and removes an off-by-one in the J.U.L.I.A. Demo main menu screen.
This commit is contained in:
parent
fe5d12a484
commit
ead4e83180
@ -419,13 +419,6 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, Rect32 *newRect,
|
||||
position.left = x + transform._offset.x;
|
||||
position.top = y + transform._offset.y;
|
||||
|
||||
// Crop off-by-ones:
|
||||
if (position.left == -1) {
|
||||
position.left = 0; // TODO: Something is wrong
|
||||
}
|
||||
if (position.top == -1) {
|
||||
position.top = 0; // TODO: Something is wrong
|
||||
}
|
||||
if (newRect) {
|
||||
position.top = y;
|
||||
position.left = x;
|
||||
|
Loading…
Reference in New Issue
Block a user