aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJody Northup2009-06-15 10:10:22 +0000
committerJody Northup2009-06-15 10:10:22 +0000
commitc97bfd16f94873a437cb92a30ebd11879f114e0c (patch)
tree7dfd7195e2c5f0f0fb5cef3586c03e8082af5195 /engines/scumm
parent8d306ebccfa7e88b2e4f4635bff3987e550f98d3 (diff)
downloadscummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.tar.gz
scummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.tar.bz2
scummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.zip
made Graphics::PixelFormat(ColorMode) constructor explicit, removed Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway
svn-id: r41540
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 5fec6ec835..9469a15e54 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1085,7 +1085,7 @@ Common::Error ScummEngine::init() {
(_screenWidth * _textSurfaceMultiplier > 320));
#ifdef ENABLE_16BIT
} else if (_game.features & GF_16BIT_COLOR) {
- Graphics::PixelFormat format = Graphics::kFormatRGB555;
+ Graphics::PixelFormat format(Graphics::kFormatRGB555);
initGraphics(_screenWidth, _screenHeight, _screenWidth > 320, format);
if (format != _system->getScreenFormat())
return Common::kUnsupportedColorMode;