diff options
author | Einar Johan Trøan Sømåen | 2012-07-29 17:53:44 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-29 17:53:44 +0200 |
commit | 2e7d21fc525a5b0451274d3844e3d6a1de1f6cb2 (patch) | |
tree | 9017aeb5500acbd1c6cee7c54779e79cfc7b6e1a /engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | |
parent | aa3467ddaa4b1df72398a1545c9d8b1c89dad6ad (diff) | |
download | scummvm-rg350-2e7d21fc525a5b0451274d3844e3d6a1de1f6cb2.tar.gz scummvm-rg350-2e7d21fc525a5b0451274d3844e3d6a1de1f6cb2.tar.bz2 scummvm-rg350-2e7d21fc525a5b0451274d3844e3d6a1de1f6cb2.zip |
WINTERMUTE: Replace BaseRegistry with ConfMan
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_render_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index 8e6c6bb83c..f407a871b0 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -27,8 +27,6 @@ */
#include "engines/wintermute/base/gfx/osystem/base_render_osystem.h"
-#include "engines/wintermute/base/base_registry.h"
-#include "engines/wintermute/base/base_engine.h"
#include "engines/wintermute/base/gfx/osystem/base_surface_osystem.h"
#include "engines/wintermute/base/base_surface_storage.h"
#include "engines/wintermute/base/gfx/base_image.h"
@@ -128,8 +126,8 @@ bool BaseRenderOSystem::initRenderer(int width, int height, bool windowed) { //TODO: Tiny resolution-displays might want to do some resolution-selection logic here
- _realWidth = BaseEngine::instance().getRegistry()->readInt("Debug", "ForceResWidth", _width);
- _realHeight = BaseEngine::instance().getRegistry()->readInt("Debug", "ForceResHeight", _height);
+ //_realWidth = BaseEngine::instance().getRegistry()->readInt("Debug", "ForceResWidth", _width);
+ //_realHeight = BaseEngine::instance().getRegistry()->readInt("Debug", "ForceResHeight", _height);
float origAspect = (float)_width / (float)_height;
float realAspect = (float)_realWidth / (float)_realHeight;
|