aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 17:26:27 +0200
committerJohannes Schickel2011-04-17 20:56:16 +0200
commitca81ab1a4c469c2faa3f739f6202ea79ca5bc50e (patch)
tree3b065ff474168ed02bf9fcac92facef43248bcc6 /engines/gob/videoplayer.cpp
parent0b14f6aa1787c3be6c402f6a541a659c88a790a6 (diff)
downloadscummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.tar.gz
scummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.tar.bz2
scummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.zip
GOB: Do not access Surface::bytesPerPixel anymore.
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 8222c99ef3..de149c9787 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -720,7 +720,7 @@ bool VideoPlayer::copyFrame(int slot, Surface &dest,
if (!surface)
return false;
- Surface src(surface->w, surface->h, surface->bytesPerPixel, (byte *)surface->pixels);
+ Surface src(surface->w, surface->h, surface->format.bytesPerPixel, (byte *)surface->pixels);
dest.blit(src, left, top, left + width - 1, top + height - 1, x, y, transp);
return true;