Skip to content
Permalink
Browse files

WINTERMUTE: Fix fill rect area on endSaveLoad()

  • Loading branch information...
lolbot-iichan authored and digitall committed May 18, 2019
1 parent 98e8394 commit 7c35e1528f130d3aeb08dd9a43b529fb9c770bae
Showing with 1 addition and 1 deletion.
  1. +1 −1 engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -576,7 +576,7 @@ void BaseRenderOSystem::endSaveLoad() {
_skipThisFrame = true;
_lastFrameIter = _renderQueue.end();

_renderSurface->fillRect(Common::Rect(0, 0, _renderSurface->h, _renderSurface->w), _renderSurface->format.ARGBToColor(255, 0, 0, 0));
_renderSurface->fillRect(Common::Rect(0, 0, _renderSurface->w, _renderSurface->h), _renderSurface->format.ARGBToColor(255, 0, 0, 0));
g_system->copyRectToScreen((byte *)_renderSurface->getPixels(), _renderSurface->pitch, 0, 0, _renderSurface->w, _renderSurface->h);
g_system->updateScreen();
}

0 comments on commit 7c35e15

Please sign in to comment.
You can’t perform that action at this time.