mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 04:01:23 +00:00
GRAPHICS: MACGUI: fix rendering text.
This commit is contained in:
parent
a88a754de6
commit
69cb4dd7a9
@ -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…
x
Reference in New Issue
Block a user