diff options
author | Einar Johan Trøan Sømåen | 2013-02-01 01:54:39 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-02-01 01:54:39 +0100 |
commit | 0db8a0b3b15bd01ca5e02d4eaff5ce8798824b0a (patch) | |
tree | fd0ce1cf4f0407b4984d5ccdb76c19ade1297788 | |
parent | 6b614f8ff508449fd5db3af5dcd5b689d69718b0 (diff) | |
download | scummvm-rg350-0db8a0b3b15bd01ca5e02d4eaff5ce8798824b0a.tar.gz scummvm-rg350-0db8a0b3b15bd01ca5e02d4eaff5ce8798824b0a.tar.bz2 scummvm-rg350-0db8a0b3b15bd01ca5e02d4eaff5ce8798824b0a.zip |
GRAPHICS: Let JPEGs pixelformat state 0 alpha bits.
-rw-r--r-- | graphics/decoders/jpeg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/decoders/jpeg.cpp b/graphics/decoders/jpeg.cpp index 5e926e60a0..8adbab133f 100644 --- a/graphics/decoders/jpeg.cpp +++ b/graphics/decoders/jpeg.cpp @@ -74,7 +74,7 @@ const Surface *JPEGDecoder::getSurface() const { // Create an RGBA8888 surface _rgbSurface = new Graphics::Surface(); - _rgbSurface->create(_w, _h, Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0)); + _rgbSurface->create(_w, _h, Graphics::PixelFormat(4, 8, 8, 8, 0, 24, 16, 8, 0)); // Get our component surfaces const Graphics::Surface *yComponent = getComponent(1); |