aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-01 13:04:25 +0600
committerEugene Sandulenko2016-07-03 12:24:11 +0200
commit6fd6043391d7faef569612797fb1c181c45a91dc (patch)
treef8a67787ea2ec688594fb831efcf7f076fdbf741 /gui/widget.cpp
parent4b87563792163d5fd538092b340500bccd20aa7b (diff)
downloadscummvm-rg350-6fd6043391d7faef569612797fb1c181c45a91dc.tar.gz
scummvm-rg350-6fd6043391d7faef569612797fb1c181c45a91dc.tar.bz2
scummvm-rg350-6fd6043391d7faef569612797fb1c181c45a91dc.zip
GUI: Fix blitAlphaBitmapClip()
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index ed7cf93d7b..13be22f142 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -686,7 +686,7 @@ void GraphicsWidget::drawWidget() {
const int x = _x + (_w - _gfx.w) / 2;
const int y = _y + (_h - _gfx.h) / 2;
- g_gui.theme()->drawSurface(Common::Rect(x, y, x + _gfx.w, y + _gfx.h), _gfx, _state, _alpha, _transparency);
+ g_gui.theme()->drawSurfaceClip(Common::Rect(x, y, x + _gfx.w, y + _gfx.h), getBossClipRect(), _gfx, _state, _alpha, _transparency);
}
}