GRIM: Fix drawing to the right surface in Bink

This commit is contained in:
Einar Johan T. Sømåen 2011-08-13 06:37:50 +02:00
parent d5d8f03ef9
commit 10d50e4c32

View File

@ -130,7 +130,7 @@ void BinkPlayer::handleFrame() {
// will be dropped, and the sound will continue, in synch.
if (!_updateNeeded) {
_externalSurface->copyFrom(*_surface);
_externalBuffer = (byte *)_surface->pixels;
_externalBuffer = (byte *)_externalSurface->pixels;
_updateNeeded = true;
}