[Scummvm-cvs-logs] SF.net SVN: scummvm:[41912] scummvm/branches/gsoc2009-16bit/engines/sci/sci .cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat Jun 27 12:53:21 CEST 2009
Revision: 41912
http://scummvm.svn.sourceforge.net/scummvm/?rev=41912&view=rev
Author: wjpalenstijn
Date: 2009-06-27 10:53:21 +0000 (Sat, 27 Jun 2009)
Log Message:
-----------
SCI: Use obtained instead of requested PixelFormat
Modified Paths:
--------------
scummvm/branches/gsoc2009-16bit/engines/sci/sci.cpp
Modified: scummvm/branches/gsoc2009-16bit/engines/sci/sci.cpp
===================================================================
--- scummvm/branches/gsoc2009-16bit/engines/sci/sci.cpp 2009-06-27 08:16:21 UTC (rev 41911)
+++ scummvm/branches/gsoc2009-16bit/engines/sci/sci.cpp 2009-06-27 10:53:21 UTC (rev 41912)
@@ -106,11 +106,10 @@
#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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list