diff options
author | Eugene Sandulenko | 2016-04-15 08:55:14 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-15 17:24:14 +0200 |
commit | 0e4c846a39cdf5c8370106ba87b24ac7936818fd (patch) | |
tree | ad0f71bb65aa173e98700f64e6c46678db20d06e /engines/wage/menu.cpp | |
parent | 00399d27dbe3466b4734345bfb4879c056465f80 (diff) | |
download | scummvm-rg350-0e4c846a39cdf5c8370106ba87b24ac7936818fd.tar.gz scummvm-rg350-0e4c846a39cdf5c8370106ba87b24ac7936818fd.tar.bz2 scummvm-rg350-0e4c846a39cdf5c8370106ba87b24ac7936818fd.zip |
WAGE: Benefit from ManagedSurface methods
Diffstat (limited to 'engines/wage/menu.cpp')
-rw-r--r-- | engines/wage/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp index 9bd43275b2..27cbf5e4f5 100644 --- a/engines/wage/menu.cpp +++ b/engines/wage/menu.cpp @@ -406,7 +406,7 @@ void Menu::renderSubmenu(MenuItem *menu) { ty = 0; accelX -= x; - _tempSurface.fillRect(Common::Rect(0, 0, _tempSurface.w, _tempSurface.h), kColorGreen); + _tempSurface.clear(kColorGreen); } _font->drawString(s, text, tx, ty, r->width(), color); |