diff options
Diffstat (limited to 'scumm/base-costume.cpp')
-rw-r--r-- | scumm/base-costume.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/base-costume.cpp b/scumm/base-costume.cpp index f4d2b28f87..386c260de3 100644 --- a/scumm/base-costume.cpp +++ b/scumm/base-costume.cpp @@ -29,13 +29,12 @@ byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, int numStrips, const int i; byte result = 0; + _out = vs; if (drawToBackBuf) - _outptr = vs.getBackPixels(0, 0); + _out.pixels = vs.getBackPixels(0, 0); else - _outptr = vs.getPixels(0, 0); + _out.pixels = vs.getPixels(0, 0); - _outwidth = vs.pitch; - _outheight = vs.h; _numStrips = numStrips; if (_vm->_version == 1) { |