diff options
-rw-r--r-- | engines/titanic/support/avi_surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp index 1662b3d7fd..69c006e6e8 100644 --- a/engines/titanic/support/avi_surface.cpp +++ b/engines/titanic/support/avi_surface.cpp @@ -321,7 +321,7 @@ void AVISurface::copyMovieFrame(const Graphics::Surface &src, Graphics::ManagedS src.format.colorToARGB(*pSrc, a, r, g, b); assert(a == 0 || a == 0xff); - *pDest = (a == 0) ? transPixel : dest.format.RGBToColor(r, g, b); + *pDest = (a == 0 && _streamCount == 1) ? transPixel : dest.format.RGBToColor(r, g, b); } } } @@ -412,7 +412,7 @@ bool AVISurface::renderFrame() { s->free(); delete s; } else { - _videoSurface->getRawSurface()->transBlitFrom(frameSurface, _videoSurface->getTransparencyColor()); + _videoSurface->getRawSurface()->blitFrom(frameSurface); } _videoSurface->unlock(); |