aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJody Northup2009-06-19 09:28:55 +0000
committerJody Northup2009-06-19 09:28:55 +0000
commit704386d3b09b68f96b6d4160a1a261e3e754f461 (patch)
tree7067ae6b04495b6aa6a2d437c061a057bd1881e6 /base
parent6f2b46964bd3bee3ee12f2c3cd19b62bbb8aa9b6 (diff)
downloadscummvm-rg350-704386d3b09b68f96b6d4160a1a261e3e754f461.tar.gz
scummvm-rg350-704386d3b09b68f96b6d4160a1a261e3e754f461.tar.bz2
scummvm-rg350-704386d3b09b68f96b6d4160a1a261e3e754f461.zip
Removed replaced Graphics::ColorMode enum type with factory methods for Graphics::PixelFormat.
svn-id: r41662
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 6f3bacebb7..56db1a4276 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -227,7 +227,7 @@ static void setupGraphics(OSystem &system) {
system.setGraphicsMode(ConfMan.get("gfx_mode").c_str());
#ifdef ENABLE_16BIT
- system.initFormat(Graphics::PixelFormat(Graphics::kFormatCLUT8));
+ system.initFormat(Graphics::PixelFormat::createFormatCLUT8());
#endif
system.initSize(320, 200);