diff options
Diffstat (limited to 'engines/bladerunner/image.cpp')
-rw-r--r-- | engines/bladerunner/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/image.cpp b/engines/bladerunner/image.cpp index 19f9f0087d..bdd952b5c0 100644 --- a/engines/bladerunner/image.cpp +++ b/engines/bladerunner/image.cpp @@ -73,8 +73,8 @@ bool Image::open(const Common::String &name) { #endif } - const Graphics::PixelFormat pixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0); - _surface.init(width, height, 2*width, data, pixelFormat); + _surface.init(width, height, 2*width, data, gameDataPixelFormat()); + _surface.convertToInPlace(screenPixelForrmat()); delete[] buf; delete stream; |