aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-28 22:50:22 -0500
committerPaul Gilbert2016-11-28 22:50:22 -0500
commit8b4a1a7660415979d5b4830100ecc188bbcb5105 (patch)
tree5614ebfc5a6e7b5112f2e51f8151a08b1df8c589 /engines/titanic/star_control
parent8c453693914b9141277908a5c1d0b184d7ac9a9b (diff)
downloadscummvm-rg350-8b4a1a7660415979d5b4830100ecc188bbcb5105.tar.gz
scummvm-rg350-8b4a1a7660415979d5b4830100ecc188bbcb5105.tar.bz2
scummvm-rg350-8b4a1a7660415979d5b4830100ecc188bbcb5105.zip
TITANIC: Transparency in movie frames now working
Turns out the movie frames didn't need to be 32-bit, it just needed custom copying code to replace transparent pixels with the transparency color, so when blitted to the screen, the pixels aren't drawn.
Diffstat (limited to 'engines/titanic/star_control')
-rw-r--r--engines/titanic/star_control/surface_fader_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/surface_fader_base.cpp b/engines/titanic/star_control/surface_fader_base.cpp
index 57754c1ba4..fb17fb1f31 100644
--- a/engines/titanic/star_control/surface_fader_base.cpp
+++ b/engines/titanic/star_control/surface_fader_base.cpp
@@ -49,7 +49,7 @@ bool CSurfaceFaderBase::setupSurface(CScreenManager *screenManager, CVideoSurfac
delete _videoSurface;
}
- _videoSurface = screenManager->createSurface(width, height, 16);
+ _videoSurface = screenManager->createSurface(width, height);
return true;
}