diff options
author | Einar Johan Trøan Sømåen | 2013-10-29 02:55:31 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-10-29 02:59:53 +0100 |
commit | d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0 (patch) | |
tree | 9c5d5025bdff5681f7fe2030b496677d54625bc8 /engines/wintermute/video | |
parent | efb8031b3c38b8d7e2da73725eb60a35554d0508 (diff) | |
download | scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.tar.gz scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.tar.bz2 scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.zip |
WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r-- | engines/wintermute/video/video_theora_player.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index 6b2037aa4f..5dbb301374 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -34,7 +34,6 @@ #include "engines/wintermute/base/gfx/base_image.h" #include "engines/wintermute/base/gfx/base_renderer.h" #include "engines/wintermute/base/sound/base_sound_manager.h" -#include "engines/wintermute/platform_osystem.h" #include "video/theora_decoder.h" #include "engines/wintermute/wintermute.h" #include "common/system.h" @@ -396,7 +395,7 @@ bool VideoTheoraPlayer::display(uint32 alpha) { bool res; if (_texture && _videoFrameReady) { - BasePlatform::setRect(&rc, 0, 0, _texture->getWidth(), _texture->getHeight()); + rc.setRect(0, 0, _texture->getWidth(), _texture->getHeight()); if (_playZoom == 100.0f) { res = _texture->displayTrans(_posX, _posY, rc, alpha); } else { |