aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJody Northup2009-06-23 02:02:51 +0000
committerJody Northup2009-06-23 02:02:51 +0000
commit7c622423157e29b7206ba0c39a7756443ed1e70d (patch)
treed83c24ec9d14669996f2b1db824f37d827083510 /base
parenta937dfde96b35738b916e4299cc4e917fc6d2d9e (diff)
downloadscummvm-rg350-7c622423157e29b7206ba0c39a7756443ed1e70d.tar.gz
scummvm-rg350-7c622423157e29b7206ba0c39a7756443ed1e70d.tar.bz2
scummvm-rg350-7c622423157e29b7206ba0c39a7756443ed1e70d.zip
Merged format initialization into InitSize to allow for backends not supporting gfx transactions.
svn-id: r41801
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 3bbe6ddd9c..dba4aeccaa 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -226,9 +226,6 @@ static void setupGraphics(OSystem &system) {
// Set the user specified graphics mode (if any).
system.setGraphicsMode(ConfMan.get("gfx_mode").c_str());
-#ifdef ENABLE_RGB_COLOR
- system.initFormat(Graphics::PixelFormat::createFormatCLUT8());
-#endif
system.initSize(320, 200);
if (ConfMan.hasKey("aspect_ratio"))