diff options
author | Thomas Fach-Pedersen | 2017-07-30 22:34:21 +0200 |
---|---|---|
committer | Thomas Fach-Pedersen | 2017-07-31 00:15:33 +0200 |
commit | d3e64544b3065273aa72f2066edf74bc6f71e86a (patch) | |
tree | eaee770e25197a468b1a569bf36de8b6d42ecc1e /engines/bladerunner/actor.cpp | |
parent | 9c6dd7113f406478a7deb1e674080a2d2f4f7b6b (diff) | |
download | scummvm-rg350-d3e64544b3065273aa72f2066edf74bc6f71e86a.tar.gz scummvm-rg350-d3e64544b3065273aa72f2066edf74bc6f71e86a.tar.bz2 scummvm-rg350-d3e64544b3065273aa72f2066edf74bc6f71e86a.zip |
BLADERUNNER: Move surfaces out of VQA player
Rename the surfaces to more meaningful names and move ownership out
of the VQA classes. This means that the VQA classes no longer
create their own internal surfaces but instead draw on externally
provided surfaces.
Diffstat (limited to 'engines/bladerunner/actor.cpp')
-rw-r--r-- | engines/bladerunner/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/actor.cpp b/engines/bladerunner/actor.cpp index 49a66d9ef6..6265a0480a 100644 --- a/engines/bladerunner/actor.cpp +++ b/engines/bladerunner/actor.cpp @@ -672,7 +672,7 @@ bool Actor::draw(Common::Rect *screenRect) { // TODO: Handle SHORTY mode - _vm->_sliceRenderer->drawInWorld(_animationId, _animationFrame, drawPosition, drawAngle, drawScale, _vm->_surface2, _vm->_zbuffer->getData()); + _vm->_sliceRenderer->drawInWorld(_animationId, _animationFrame, drawPosition, drawAngle, drawScale, _vm->_surfaceGame, _vm->_zbuffer->getData()); _vm->_sliceRenderer->getScreenRectangle(screenRect, _animationId, _animationFrame, drawPosition, drawAngle, drawScale); return !screenRect->isEmpty(); |