diff options
Diffstat (limited to 'engines/neverhood/screen.cpp')
-rw-r--r-- | engines/neverhood/screen.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/neverhood/screen.cpp b/engines/neverhood/screen.cpp index a2437ba010..7321ddb233 100644 --- a/engines/neverhood/screen.cpp +++ b/engines/neverhood/screen.cpp @@ -153,6 +153,13 @@ void Screen::updatePalette() { void Screen::clear() { memset(_backScreen->pixels, 0, _backScreen->pitch * _backScreen->h); + _fullRefresh = true; + clearRenderQueue(); +} + +void Screen::clearRenderQueue() { + _renderQueue->clear(); + _prevRenderQueue->clear(); } void Screen::drawSurface2(const Graphics::Surface *surface, NDrawRect &drawRect, NRect &clipRect, bool transparent, byte version, |