I assume this call to restoreBackground() is unnecessary.

svn-id: r20328
This commit is contained in:
Torbjörn Andersson 2006-01-31 08:03:21 +00:00
parent 46c961f28d
commit 9246a7a532

View File

@ -355,7 +355,6 @@ void ThemeNew::drawButton(const Common::Rect &r, const Common::String &str, kSta
if (!_initOk)
return;
restoreBackground(r);
drawRectMasked(r, surface(kWidgetBkgdCorner), surface(kWidgetBkgdTop), surface(kWidgetBkgdLeft), surface(kWidgetBkgd),
(state == kStateDisabled) ? 128 : 256, _colors[kButtonBackgroundStart], _colors[kButtonBackgroundEnd], 2);