aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJody Northup2009-06-15 10:10:22 +0000
committerJody Northup2009-06-15 10:10:22 +0000
commitc97bfd16f94873a437cb92a30ebd11879f114e0c (patch)
tree7dfd7195e2c5f0f0fb5cef3586c03e8082af5195 /base
parent8d306ebccfa7e88b2e4f4635bff3987e550f98d3 (diff)
downloadscummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.tar.gz
scummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.tar.bz2
scummvm-rg350-c97bfd16f94873a437cb92a30ebd11879f114e0c.zip
made Graphics::PixelFormat(ColorMode) constructor explicit, removed Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway
svn-id: r41540
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 5c1ca7dc20..6f3bacebb7 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::kFormatCLUT8);
+ system.initFormat(Graphics::PixelFormat(Graphics::kFormatCLUT8));
#endif
system.initSize(320, 200);