diff options
author | Alexander Tkachev | 2016-06-21 16:45:07 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:15:51 +0200 |
commit | 3d2730a0ddd1e1e33e6639775727beb954d7bfc0 (patch) | |
tree | 95fad7b305302339edad4f73fa7c0bbb0075a24c /gui | |
parent | d7278cc48b7fd9c1848da6402316663af2d0c7bd (diff) | |
download | scummvm-rg350-3d2730a0ddd1e1e33e6639775727beb954d7bfc0.tar.gz scummvm-rg350-3d2730a0ddd1e1e33e6639775727beb954d7bfc0.tar.bz2 scummvm-rg350-3d2730a0ddd1e1e33e6639775727beb954d7bfc0.zip |
GUI: clippingRect propagated deeper
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 12788c2233..3c6f5956a8 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -898,9 +898,8 @@ void ThemeEngine::queueDDClip(DrawData type, const Common::Rect &r, const Common Common::Rect area = r; area.clip(_screen.w, _screen.h); - area.clip(clippingRect); - ThemeItemDrawData *q = new ThemeItemDrawData(this, _widgets[type], area, dynamic); + ThemeItemDrawDataClip *q = new ThemeItemDrawDataClip(this, _widgets[type], area, clippingRect, dynamic); if (_buffering) { if (_widgets[type]->_buffer) { |