made Graphics::PixelFormat(ColorMode) constructor explicit, removed Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway
svn-id: r41540
This commit is contained in:
parent
8d306ebccf
commit
c97bfd16f9
4 changed files with 4 additions and 37 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue