GUI: Fix blitAlphaBitmapClip()

This commit is contained in:
Alexander Tkachev 2016-07-01 13:04:25 +06:00 committed by Eugene Sandulenko
parent 4b87563792
commit 6fd6043391
6 changed files with 111 additions and 3 deletions

View file

@ -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);
}
}