diff options
-rw-r--r-- | graphics/macgui/mactext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index e2b945d28f..244988b3d6 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -244,6 +244,7 @@ void MacText::reallocSurface() { if (_surface->w < _textMaxWidth || _surface->h < _textMaxHeight) { // realloc surface and copy old content ManagedSurface *n = new ManagedSurface(_textMaxWidth, _textMaxHeight); + n->clear(_bgcolor); n->blitFrom(*_surface, Common::Point(0, 0)); delete _surface; |