diff options
author | Eugene Sandulenko | 2016-04-15 14:20:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-15 17:24:16 +0200 |
commit | 43d49e68b2bdf9e45fdf7542272c013ee2e3fde7 (patch) | |
tree | f367e41bd370f4cd926ea5571b5c3abef9c18882 /engines/wage/gui-console.cpp | |
parent | 78567a3c1d990bbc429d8c5ef85f33865f4f1a1d (diff) | |
download | scummvm-rg350-43d49e68b2bdf9e45fdf7542272c013ee2e3fde7.tar.gz scummvm-rg350-43d49e68b2bdf9e45fdf7542272c013ee2e3fde7.tar.bz2 scummvm-rg350-43d49e68b2bdf9e45fdf7542272c013ee2e3fde7.zip |
WAGE: Draw console via MacWindow
Diffstat (limited to 'engines/wage/gui-console.cpp')
-rw-r--r-- | engines/wage/gui-console.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp index 5f9cfe5519..840b8e3ced 100644 --- a/engines/wage/gui-console.cpp +++ b/engines/wage/gui-console.cpp @@ -142,7 +142,7 @@ void Gui::flowText(Common::String &str) { draw(); } -void Gui::renderConsole(Graphics::ManagedSurface *g, Common::Rect &r) { +void Gui::renderConsole(Graphics::ManagedSurface *g, const Common::Rect &r) { bool fullRedraw = _consoleFullRedraw; bool textReflow = false; int surfW = r.width() + kConWOverlap * 2; @@ -279,7 +279,6 @@ void Gui::renderConsole(Graphics::ManagedSurface *g, Common::Rect &r) { rr.bottom = _screen.h - 1; g->copyRectToSurface(_console, xcon, ycon, boundsR); - g_system->copyRectToScreen(g->getBasePtr(rr.left, rr.top), g->pitch, rr.left, rr.top, rr.width(), rr.height()); } void Gui::drawInput() { |