mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
WINTERMUTE: Call updateScreen() every frame, even without updates.
This fixes expose events with the opengl backend.
This commit is contained in:
parent
f5c6865984
commit
7a3fb2f06a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user