diff options
| -rw-r--r-- | engines/groovie/groovie.cpp | 3 | ||||
| -rw-r--r-- | engines/sci/sci.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp index 6f985ddad5..bb4e142196 100644 --- a/engines/groovie/groovie.cpp +++ b/engines/groovie/groovie.cpp @@ -73,8 +73,7 @@ Common::Error GroovieEngine::run() { switch (_gameDescription->version) { case kGroovieV2: // Request the mode with the highest precision available - _pixelFormat = _system->getSupportedFormats().front(); - initGraphics(640, 480, true, &_pixelFormat); + initGraphics(640, 480, true, NULL); // Save the enabled mode as it can be both an RGB mode or CLUT8 _pixelFormat = _system->getScreenFormat(); diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index dbb8d4784a..cf08c69738 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -106,8 +106,7 @@ SciEngine::~SciEngine() { Common::Error SciEngine::run() { Graphics::PixelFormat gfxmode; #ifdef ENABLE_RGB_COLOR - gfxmode = _system->getSupportedFormats().front(); - initGraphics(320, 200, false, &gfxmode); + initGraphics(320, 200, false, NULL); #else initGraphics(320, 200, false); #endif |
