aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/animation_node.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2014-01-07 18:39:16 +0700
committerMarisa-Chan2014-01-07 18:39:16 +0700
commit1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae (patch)
tree5baeb94cd7e5249f5416c9af9a0e5e59443bfafa /engines/zvision/animation_node.cpp
parent48156debaf148b50acd3eb6e3de7020498016a5f (diff)
downloadscummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.tar.gz
scummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.tar.bz2
scummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.zip
ZVISION: Refactoring of renderManager.
Diffstat (limited to 'engines/zvision/animation_node.cpp')
-rw-r--r--engines/zvision/animation_node.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}
}
}