diff options
author | Einar Johan Trøan Sømåen | 2012-07-29 15:03:54 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-29 15:03:54 +0200 |
commit | 1f5288d8c17bb65d623e96ab66833ba548c26e70 (patch) | |
tree | 96c94c7074b469fee01b6033201c2acd165de560 /engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | |
parent | da0ba41903bf50c3a6cb2923ca943386cd984f8c (diff) | |
download | scummvm-rg350-1f5288d8c17bb65d623e96ab66833ba548c26e70.tar.gz scummvm-rg350-1f5288d8c17bb65d623e96ab66833ba548c26e70.tar.bz2 scummvm-rg350-1f5288d8c17bb65d623e96ab66833ba548c26e70.zip |
WINTERMUTE: Use ConfMan instead of registry.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_render_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index 6e18aaba29..8e6c6bb83c 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -38,6 +38,7 @@ #include "common/system.h"
#include "engines/wintermute/graphics/transparent_surface.h"
#include "common/queue.h"
+#include "common/config-manager.h"
namespace WinterMute {
@@ -153,7 +154,7 @@ bool BaseRenderOSystem::initRenderer(int width, int height, bool windowed) { _ratioX = (float)(_realWidth - _borderLeft - _borderRight) / (float)_width;
_ratioY = (float)(_realHeight - _borderTop - _borderBottom) / (float)_height;
- //_windowed = BaseEngine::instance().getRegistry()->readBool("Video", "Windowed", true); TODO
+ _windowed = !ConfMan.getBool("fullscreen");
Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0);
g_system->beginGFXTransaction();
|