aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
diff options
context:
space:
mode:
authorJody Northup2009-07-07 07:50:40 +0000
committerJody Northup2009-07-07 07:50:40 +0000
commit2c5d11b67b35f93b2292c1ca56d0c9fc89608921 (patch)
tree6a1846b7ec765e7f1f4a07a107a103ae1925ec36 /engines/groovie
parent11717150e7c18286fa9b877830ddf5155ee99760 (diff)
downloadscummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.gz
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.bz2
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.zip
Removed PixelFormat convenience constructors at behest of Max and Eugene.
svn-id: r42207
Diffstat (limited to 'engines/groovie')
-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 cdf05e803b..c2f13e4f74 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::createFormatCLUT8());
+ _mode8bit = (_pixelFormat == Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0));
break;
case kGroovieT7G:
initGraphics(640, 480, true);
- _pixelFormat = Graphics::PixelFormat::createFormatCLUT8();
+ _pixelFormat = Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0);
break;
}