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