diff options
Diffstat (limited to 'gui/ThemeRenderer.h')
-rw-r--r-- | gui/ThemeRenderer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/ThemeRenderer.h b/gui/ThemeRenderer.h index abaff44c55..134e6fba87 100644 --- a/gui/ThemeRenderer.h +++ b/gui/ThemeRenderer.h @@ -223,7 +223,10 @@ public: /** Since the rendering pipeline changes, closing all dialogs causes no effect TODO: remove this from the original GUI::Theme API */ - void closeAllDialogs() {} + void closeAllDialogs() { + memset(_backBuffer->pixels, 0, _backBuffer->w * _backBuffer->h * _backBuffer->bytesPerPixel); + + } /** Drawing area has been removed: it was too hackish. A workaround is on the works. TODO: finish the workaround for the credits dialog |