aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-10-29 02:04:05 +0100
committerEinar Johan Trøan Sømåen2013-10-29 02:59:53 +0100
commit211b8c9732bed65c29b8e48ad20d6c934a942e02 (patch)
tree3adb3fae5dbeb591c8376628808ea2bea58c0d11 /engines/wintermute/ad
parent4c3c7076710bd27bbcb57ea5ccdd343d4d99699b (diff)
downloadscummvm-rg350-211b8c9732bed65c29b8e48ad20d6c934a942e02.tar.gz
scummvm-rg350-211b8c9732bed65c29b8e48ad20d6c934a942e02.tar.bz2
scummvm-rg350-211b8c9732bed65c29b8e48ad20d6c934a942e02.zip
WINTERMUTE: Remove unused BasePlatform-functions (showWindow/setCapture/releaseCapture)
Diffstat (limited to 'engines/wintermute/ad')
-rw-r--r--engines/wintermute/ad/ad_game.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_game.cpp b/engines/wintermute/ad/ad_game.cpp
index 3af43ca54b..fc5f20164b 100644
--- a/engines/wintermute/ad/ad_game.cpp
+++ b/engines/wintermute/ad/ad_game.cpp
@@ -2160,7 +2160,6 @@ bool AdGame::onMouseLeftDown() {
_gameRef->_capturedObject = _gameRef->_activeObject;
}
_mouseLeftDown = true;
- BasePlatform::setCapture(/*_renderer->_window*/);
return STATUS_OK;
}
@@ -2171,7 +2170,6 @@ bool AdGame::onMouseLeftUp() {
_activeObject->handleMouse(MOUSE_RELEASE, MOUSE_BUTTON_LEFT);
}
- BasePlatform::releaseCapture();
_capturedObject = nullptr;
_mouseLeftDown = false;