aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJody Northup2009-07-08 16:07:58 +0000
committerJody Northup2009-07-08 16:07:58 +0000
commit828ed66555b99363fed62b4cbb83c36de68c3024 (patch)
tree954ef2912744813160ed95984808ac21c2b68a17 /engines
parent3e47aaa151ff751af867c57344b063c30f5f75f3 (diff)
downloadscummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.tar.gz
scummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.tar.bz2
scummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.zip
Reinstated static inline Graphics::PixelFormat::createFormatCLUT8(), which I am told was not supposed to be removed with the others.
svn-id: r42268
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/groovie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 039efd2c49..6f985ddad5 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -78,11 +78,11 @@ Common::Error GroovieEngine::run() {
// Save the enabled mode as it can be both an RGB mode or CLUT8
_pixelFormat = _system->getScreenFormat();
- _mode8bit = (_pixelFormat == Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0));
+ _mode8bit = (_pixelFormat == Graphics::PixelFormat::createFormatCLUT8());
break;
case kGroovieT7G:
initGraphics(640, 480, true);
- _pixelFormat = Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0);
+ _pixelFormat = Graphics::PixelFormat::createFormatCLUT8();
break;
}