diff options
author | Einar Johan Trøan Sømåen | 2012-12-03 11:33:11 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-12-03 11:33:11 +0100 |
commit | 997386d15ca751eaef06533f3edc0aa3d029eede (patch) | |
tree | fa20c25bedbba841b55dfcd7657c32af41edb921 /engines/wintermute | |
parent | 53512b0841fdf90146220222f43721043d91f093 (diff) | |
download | scummvm-rg350-997386d15ca751eaef06533f3edc0aa3d029eede.tar.gz scummvm-rg350-997386d15ca751eaef06533f3edc0aa3d029eede.tar.bz2 scummvm-rg350-997386d15ca751eaef06533f3edc0aa3d029eede.zip |
WINTERMUTE: Enable dirty rects by default.
Diffstat (limited to 'engines/wintermute')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index 55556e5f3c..fff51a56c2 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -106,7 +106,7 @@ BaseRenderOSystem::BaseRenderOSystem(BaseGame *inGame) : BaseRenderer(inGame) { setAlphaMod(255); setColorMod(255, 255, 255); _dirtyRect = NULL; - _disableDirtyRects = true; + _disableDirtyRects = false; if (ConfMan.hasKey("dirty_rects")) { _disableDirtyRects = !ConfMan.getBool("dirty_rects"); } @@ -263,14 +263,6 @@ void BaseRenderOSystem::fade(uint16 alpha) { ////////////////////////////////////////////////////////////////////////// void BaseRenderOSystem::fadeToColor(byte r, byte g, byte b, byte a, Common::Rect *rect) { - // This particular warning is rather messy, as this function is called a ton, - // thus we avoid printing it more than once. - - // TODO: Add fading with dirty rects. - if (!_disableDirtyRects) { - warning("BaseRenderOSystem::FadeToColor - Breaks when using dirty rects"); - } - Common::Rect fillRect; if (rect) { |