diff options
author | Eugene Sandulenko | 2019-08-04 22:49:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:31 +0200 |
commit | d4f1d41275d687d800e8cffb96643c58d0e6e9e8 (patch) | |
tree | 0b2715652e29955372516356b27af41fd794d060 | |
parent | c4495e5449cdc1fe8d09a4fef3200567b6a7f548 (diff) | |
download | scummvm-rg350-d4f1d41275d687d800e8cffb96643c58d0e6e9e8.tar.gz scummvm-rg350-d4f1d41275d687d800e8cffb96643c58d0e6e9e8.tar.bz2 scummvm-rg350-d4f1d41275d687d800e8cffb96643c58d0e6e9e8.zip |
HDB: Fix fade rendering. No artifacts, yay!
-rw-r--r-- | engines/hdb/gfx.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 4e9d3f967a..55c69f469d 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -359,6 +359,7 @@ void Gfx::updateFade() { } _globalSurface.blitFrom(_fadeBuffer1); + g_system->copyRectToScreen(_globalSurface.getBasePtr(0, 0), _globalSurface.pitch, 0, 0, _globalSurface.w, _globalSurface.h); // step the fading values to the next one and // see if we're done yet @@ -389,8 +390,6 @@ void Gfx::updateFade() { return; } - g_system->copyRectToScreen(_globalSurface.getBasePtr(0, 0), _globalSurface.pitch, 0, 0, _globalSurface.w, _globalSurface.h); - g_system->updateScreen(); if (g_hdb->getDebug()) { g_hdb->_frames.push_back(g_system->getMillis()); |