aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-10-29 02:55:31 +0100
committerEinar Johan Trøan Sømåen2013-10-29 02:59:53 +0100
commitd6b9d7de8f4bc8be34ef7456a89ee144172ca5b0 (patch)
tree9c5d5025bdff5681f7fe2030b496677d54625bc8 /engines/wintermute/video
parentefb8031b3c38b8d7e2da73725eb60a35554d0508 (diff)
downloadscummvm-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.cpp3
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 {