aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
authorJody Northup2009-06-27 08:16:21 +0000
committerJody Northup2009-06-27 08:16:21 +0000
commit39e957d31320b2bc69a2a2ffcdb06e88c0302065 (patch)
tree3cf940db10b0c0ead0a61280843b84f5e669573c /engines/sci/sci.cpp
parent853aec05ba4485f0bfc90e7515322dfd56a8d4af (diff)
downloadscummvm-rg350-39e957d31320b2bc69a2a2ffcdb06e88c0302065.tar.gz
scummvm-rg350-39e957d31320b2bc69a2a2ffcdb06e88c0302065.tar.bz2
scummvm-rg350-39e957d31320b2bc69a2a2ffcdb06e88c0302065.zip
Enabled RGB color support in SCI engine, corrected SCI engine's initGraphics call for modified API
svn-id: r41911
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 44ad13b93e..6a14c3032c 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -105,7 +105,7 @@ Common::Error SciEngine::run() {
Graphics::PixelFormat gfxmode;
#ifdef ENABLE_RGB_COLOR
gfxmode = _system->getSupportedFormats().front();
- initGraphics(320, 200, false, gfxmode);
+ initGraphics(320, 200, false, &gfxmode);
// TODO: check if this succeeded? (How?)
#else
gfxmode = Graphics::PixelFormat::createFormatCLUT8();