diff options
author | Willem Jan Palenstijn | 2009-06-27 10:53:21 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-06-27 10:53:21 +0000 |
commit | 6f644324863437dedecb254bf088b33c914c7241 (patch) | |
tree | f4493bb677e35ef253b36f4f001a8eee083670b5 | |
parent | 39e957d31320b2bc69a2a2ffcdb06e88c0302065 (diff) | |
download | scummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.tar.gz scummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.tar.bz2 scummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.zip |
SCI: Use obtained instead of requested PixelFormat
svn-id: r41912
-rw-r--r-- | engines/sci/sci.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 6a14c3032c..adcf302f51 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -106,11 +106,10 @@ Common::Error SciEngine::run() { #ifdef ENABLE_RGB_COLOR gfxmode = _system->getSupportedFormats().front(); initGraphics(320, 200, false, &gfxmode); - // TODO: check if this succeeded? (How?) #else - gfxmode = Graphics::PixelFormat::createFormatCLUT8(); initGraphics(320, 200, false); #endif + gfxmode = _system->getScreenFormat(); // Create debugger console. It requires GFX to be initialized _console = new Console(this); |