From 1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Tue, 7 Jan 2014 18:39:16 +0700 Subject: ZVISION: Refactoring of renderManager. --- engines/zvision/animation_node.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/zvision/animation_node.cpp') diff --git a/engines/zvision/animation_node.cpp b/engines/zvision/animation_node.cpp index 967dee2c4a..74b532b2ef 100644 --- a/engines/zvision/animation_node.cpp +++ b/engines/zvision/animation_node.cpp @@ -165,15 +165,15 @@ bool AnimationNode::process(uint32 deltaTimeInMillis) { if (_engine->getRenderManager()->getRenderTable()->getRenderState() == RenderTable::PANORAMA) { Graphics::Surface *transposed = RenderManager::tranposeSurface(frame); if (_mask > 0) - _engine->getRenderManager()->renderImageToBackground(*transposed, nod->pos.left, nod->pos.top, _mask); + _engine->getRenderManager()->blitSurfaceToBkg(*transposed, nod->pos.left, nod->pos.top, _mask); else - _engine->getRenderManager()->renderImageToBackground(*transposed, nod->pos.left, nod->pos.top); + _engine->getRenderManager()->blitSurfaceToBkg(*transposed, nod->pos.left, nod->pos.top); delete transposed; } else { if (_mask > 0) - _engine->getRenderManager()->renderImageToBackground(*frame, nod->pos.left, nod->pos.top, _mask); + _engine->getRenderManager()->blitSurfaceToBkg(*frame, nod->pos.left, nod->pos.top, _mask); else - _engine->getRenderManager()->renderImageToBackground(*frame, nod->pos.left, nod->pos.top); + _engine->getRenderManager()->blitSurfaceToBkg(*frame, nod->pos.left, nod->pos.top); } } } -- cgit v1.2.3