aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeRenderer.h
diff options
context:
space:
mode:
authorVicent Marti2008-07-21 19:42:35 +0000
committerVicent Marti2008-07-21 19:42:35 +0000
commitc7b624d91eaa0444fdc454dfb5c5dd7beaa56bcc (patch)
tree17a6cc5a1da1847471cf7d77362166e0cad91cd1 /gui/ThemeRenderer.h
parent0883615a23d4ecb3fcc6296668a6c86173617810 (diff)
downloadscummvm-rg350-c7b624d91eaa0444fdc454dfb5c5dd7beaa56bcc.tar.gz
scummvm-rg350-c7b624d91eaa0444fdc454dfb5c5dd7beaa56bcc.tar.bz2
scummvm-rg350-c7b624d91eaa0444fdc454dfb5c5dd7beaa56bcc.zip
Bugfix: Rounded squares at low resolutions were not drawn.
Cleanup. svn-id: r33179
Diffstat (limited to 'gui/ThemeRenderer.h')
-rw-r--r--gui/ThemeRenderer.h5
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