WINTERMUTE: Call updateScreen() every frame, even without updates.

This fixes expose events with the opengl backend.
This commit is contained in:
Willem Jan Palenstijn 2013-10-07 19:49:17 +02:00
parent f5c6865984
commit 7a3fb2f06a

View File

@ -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;
}