diff options
author | Johannes Schickel | 2011-04-17 17:26:27 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 20:56:16 +0200 |
commit | ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e (patch) | |
tree | 3b065ff474168ed02bf9fcac92facef43248bcc6 | |
parent | 0b14f6aa1787c3be6c402f6a541a659c88a790a6 (diff) | |
download | scummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.tar.gz scummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.tar.bz2 scummvm-rg350-ca81ab1a4c469c2faa3f739f6202ea79ca5bc50e.zip |
GOB: Do not access Surface::bytesPerPixel anymore.
-rw-r--r-- | engines/gob/videoplayer.cpp | 2 |
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; |