aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJody Northup2009-07-07 07:50:40 +0000
committerJody Northup2009-07-07 07:50:40 +0000
commit2c5d11b67b35f93b2292c1ca56d0c9fc89608921 (patch)
tree6a1846b7ec765e7f1f4a07a107a103ae1925ec36 /engines/scumm
parent11717150e7c18286fa9b877830ddf5155ee99760 (diff)
downloadscummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.gz
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.bz2
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.zip
Removed PixelFormat convenience constructors at behest of Max and Eugene.
svn-id: r42207
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index c6ed7b71cc..347abee190 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1085,7 +1085,8 @@ Common::Error ScummEngine::init() {
(_screenWidth * _textSurfaceMultiplier > 320));
} else if (_game.features & GF_16BIT_COLOR) {
#ifdef ENABLE_RGB_COLOR
- Graphics::PixelFormat format = Graphics::PixelFormat::createFormatRGB555();
+ Graphics::PixelFormat format = Graphics::PixelFormat(2, 3, 3, 3, 8, 10, 5, 0, 0)
+;
initGraphics(_screenWidth, _screenHeight, _screenWidth > 320, &format);
if (format != _system->getScreenFormat())
return Common::kUnsupportedColorMode;