diff options
author | Paul Gilbert | 2016-11-26 10:53:47 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-26 15:25:20 -0500 |
commit | 63ec47e62f23e310786168cd596667015b2d2523 (patch) | |
tree | 0b5aca8f248a3d2c9e81a3411192dbd3ecc9894c /engines/titanic/star_control | |
parent | 4e06799122c0b763d2a44f0ce46d2ab186bdab5d (diff) | |
download | scummvm-rg350-63ec47e62f23e310786168cd596667015b2d2523.tar.gz scummvm-rg350-63ec47e62f23e310786168cd596667015b2d2523.tar.bz2 scummvm-rg350-63ec47e62f23e310786168cd596667015b2d2523.zip |
TITANIC: Add support for 32-bit surfaces
Some of the game videos have alpha levels, which are lost if the surfaces
are converted to 16-bit. This adds better support for creating 32-bit
video surfaces, so the information won't be lost
Diffstat (limited to 'engines/titanic/star_control')
-rw-r--r-- | engines/titanic/star_control/surface_fader_base.cpp | 2 |
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 fb17fb1f31..57754c1ba4 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); + _videoSurface = screenManager->createSurface(width, height, 16); return true; } |