aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
diff options
context:
space:
mode:
authorJody Northup2009-07-10 10:45:15 +0000
committerJody Northup2009-07-10 10:45:15 +0000
commitbb1da36710b8ddc5dd3d4bbf7414dd20b7a646b3 (patch)
tree7575a15bfbdc60549c6d4804720ba001c54e7deb /engines/groovie
parent2f370ef8ab65db8443c496c47de98740b31c4220 (diff)
downloadscummvm-rg350-bb1da36710b8ddc5dd3d4bbf7414dd20b7a646b3.tar.gz
scummvm-rg350-bb1da36710b8ddc5dd3d4bbf7414dd20b7a646b3.tar.bz2
scummvm-rg350-bb1da36710b8ddc5dd3d4bbf7414dd20b7a646b3.zip
Simplified SCI and groovie's initial graphics setup making use of the overloaded functions.
svn-id: r42331
Diffstat (limited to 'engines/groovie')
-rw-r--r--engines/groovie/groovie.cpp3
1 files changed, 1 insertions, 2 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();