diff options
Diffstat (limited to 'engines/titanic/support/movie.cpp')
-rw-r--r-- | engines/titanic/support/movie.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp index 5e59ed747b..8863e94e14 100644 --- a/engines/titanic/support/movie.cpp +++ b/engines/titanic/support/movie.cpp @@ -88,8 +88,7 @@ OSMovie::OSMovie(const CResourceKey &name, CVideoSurface *surface) : _field28 = 0; _field2C = 0; - surface->resize(_aviSurface.getWidth(), _aviSurface.getHeight(), - _aviSurface.getBitDepth() == 32 ? 32 : 16); + surface->resize(_aviSurface.getWidth(), _aviSurface.getHeight()); _aviSurface.setVideoSurface(surface); } @@ -119,7 +118,7 @@ void OSMovie::play(uint startFrame, uint endFrame, uint initialFrame, uint flags void OSMovie::playCutscene(const Rect &drawRect, uint startFrame, uint endFrame) { if (!_movieSurface) - _movieSurface = CScreenManager::_screenManagerPtr->createSurface(600, 340, 16); + _movieSurface = CScreenManager::_screenManagerPtr->createSurface(600, 340, 32); // Set a new event target whilst the clip plays, so standard scene drawing isn't called CEventTarget eventTarget; |