aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
diff options
context:
space:
mode:
authorJody Northup2009-06-25 08:55:16 +0000
committerJody Northup2009-06-25 08:55:16 +0000
commit53eb83dc95b825b2bf4f5f3943e8f10d9add3aa6 (patch)
treee1ee0e30caa0e83791212348ccaac4b44bf88f25 /engines/groovie
parent865129a5630017f05d08e778ba1ef430c23cd55a (diff)
downloadscummvm-rg350-53eb83dc95b825b2bf4f5f3943e8f10d9add3aa6.tar.gz
scummvm-rg350-53eb83dc95b825b2bf4f5f3943e8f10d9add3aa6.tar.bz2
scummvm-rg350-53eb83dc95b825b2bf4f5f3943e8f10d9add3aa6.zip
API modification -- replaced "Graphics::PixelFormat getBestFormat()" with "Common::List<Graphics::PixelFormat> getSupportedFormats()"
svn-id: r41854
Diffstat (limited to 'engines/groovie')
-rw-r--r--engines/groovie/groovie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index c1826e12ce..5b1a139dbe 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -73,7 +73,7 @@ Common::Error GroovieEngine::run() {
switch (_gameDescription->version) {
case kGroovieV2:
#ifdef ENABLE_RGB_COLOR
- _pixelFormat = _system->getBestFormat();
+ _pixelFormat = _system->getSupportedFormats().front();
initGraphics(640, 480, true, _pixelFormat);
break;
#endif