aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-29 14:19:28 +0100
committerEugene Sandulenko2017-01-29 14:19:28 +0100
commit0691c4e82e16467f4d7c669a4a9c12a7d48a4301 (patch)
treebed1008231376274a5f020d145408e2cb2a01bed /engines
parentf4c3de8da4e21311cd4e3e43c12cd1a44b79f205 (diff)
downloadscummvm-rg350-0691c4e82e16467f4d7c669a4a9c12a7d48a4301.tar.gz
scummvm-rg350-0691c4e82e16467f4d7c669a4a9c12a7d48a4301.tar.bz2
scummvm-rg350-0691c4e82e16467f4d7c669a4a9c12a7d48a4301.zip
GRAPHICS: Pass MacWindowManager to MacText constructor
Diffstat (limited to 'engines')
-rw-r--r--engines/director/frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index e47214d703..d1a55fdd1f 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -914,7 +914,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
else
alignment++;
- Graphics::MacText mt(ftext, font, 0x00, 0xff, width, (Graphics::TextAlign)alignment);
+ Graphics::MacText mt(ftext, _vm->_wm, font, 0x00, 0xff, width, (Graphics::TextAlign)alignment);
mt.setInterLinear(1);
mt.render();
const Graphics::ManagedSurface *textSurface = mt.getSurface();