[Scummvm-cvs-logs] scummvm master -> 7a3fb2f06a131885aa18d7426c5c3a57a04ed998
wjp
wjp at usecode.org
Mon Oct 7 21:37:45 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7a3fb2f06a WINTERMUTE: Call updateScreen() every frame, even without updates.
Commit: 7a3fb2f06a131885aa18d7426c5c3a57a04ed998
https://github.com/scummvm/scummvm/commit/7a3fb2f06a131885aa18d7426c5c3a57a04ed998
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-10-07T10:49:17-07:00
Commit Message:
WINTERMUTE: Call updateScreen() every frame, even without updates.
This fixes expose events with the opengl backend.
Changed paths:
engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index f6ace34..ff63789 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -197,11 +197,12 @@ bool BaseRenderOSystem::flip() {
// g_system->copyRectToScreen((byte *)_renderSurface->getPixels(), _renderSurface->pitch, _dirtyRect->left, _dirtyRect->top, _dirtyRect->width(), _dirtyRect->height());
delete _dirtyRect;
_dirtyRect = nullptr;
- g_system->updateScreen();
_needsFlip = false;
}
_lastFrameIter = _renderQueue.end();
+ g_system->updateScreen();
+
return STATUS_OK;
}
More information about the Scummvm-git-logs
mailing list