GRAPHICS: MACGUI: fix rendering text.
This commit is contained in:
parent
a88a754de6
commit
69cb4dd7a9
1 changed files with 1 additions and 1 deletions
|
@ -1278,7 +1278,7 @@ void MacText::draw(ManagedSurface *g, int x, int y, int w, int h, int xoff, int
|
|||
if (_textShadow)
|
||||
g->blitFrom(*_shadowSurface, Common::Rect(MIN<int>(_surface->w, x), MIN<int>(_surface->h, y), MIN<int>(_surface->w, x + w), MIN<int>(_surface->h, y + h)), Common::Point(xoff + _textShadow, yoff + _textShadow));
|
||||
|
||||
g->transBlitFrom(*_surface, Common::Rect(MIN<int>(_surface->w, x), MIN<int>(_surface->h, y), MIN<int>(_surface->w, x + w), MIN<int>(_surface->h, y + h)), Common::Point(xoff, yoff), 0xff);
|
||||
g->transBlitFrom(*_surface, Common::Rect(MIN<int>(_surface->w, x), MIN<int>(_surface->h, y), MIN<int>(_surface->w, x + w), MIN<int>(_surface->h, y + h)), Common::Point(xoff, yoff), _bgcolor);
|
||||
|
||||
_contentIsDirty = false;
|
||||
_cursorDirty = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue