From c7b624d91eaa0444fdc454dfb5c5dd7beaa56bcc Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Mon, 21 Jul 2008 19:42:35 +0000 Subject: Bugfix: Rounded squares at low resolutions were not drawn. Cleanup. svn-id: r33179 --- gui/ThemeRenderer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gui') 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 -- cgit v1.2.3