diff options
Diffstat (limited to 'engines/gob/video.cpp')
-rw-r--r-- | engines/gob/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index f4c12ad00e..a9afe24d33 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -209,7 +209,7 @@ SurfacePtr Video::initSurfDesc(int16 vidMode, int16 width, int16 height, int16 f if (!(flags & SCUMMVM_CURSOR)) width = (width + 7) & 0xFFF8; - descPtr = SurfacePtr(new Surface(width, height, 1)); + descPtr = SurfacePtr(new Surface(width, height, _vm->getPixelFormat().bytesPerPixel)); } return descPtr; } |