Fixed: Invisible debugger console text in Classic theme.
svn-id: r34816
This commit is contained in:
parent
46b036ab6a
commit
6e8adf4ea6
1 changed files with 3 additions and 1 deletions
|
@ -896,8 +896,10 @@ void ThemeEngine::drawChar(const Common::Rect &r, byte ch, const Graphics::Font
|
||||||
Common::Rect charArea = r;
|
Common::Rect charArea = r;
|
||||||
charArea.clip(_screen->w, _screen->h);
|
charArea.clip(_screen->w, _screen->h);
|
||||||
|
|
||||||
|
uint32 color = _system->RGBToColor(_texts[kTextDataDefault]->_color.r, _texts[kTextDataDefault]->_color.g, _texts[kTextDataDefault]->_color.b);
|
||||||
|
|
||||||
restoreBackground(charArea);
|
restoreBackground(charArea);
|
||||||
font->drawChar(_screen, ch, charArea.left, charArea.top, 0);
|
font->drawChar(_screen, ch, charArea.left, charArea.top, color);
|
||||||
addDirtyRect(charArea);
|
addDirtyRect(charArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue