mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
I assume this call to restoreBackground() is unnecessary.
svn-id: r20328
This commit is contained in:
parent
46c961f28d
commit
9246a7a532
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user