mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
IMAGES: W/A to allow pass JPEG with 4 components as RGBA.
This commit is contained in:
parent
e7bfaff2f5
commit
90e62871c2
@ -271,6 +271,9 @@ bool JPEGDecoder::loadStream(Common::SeekableReadStream &stream) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cinfo.num_components == 4)
|
||||||
|
cinfo.out_color_space = JCS_CMYK;
|
||||||
|
|
||||||
// Actually start decompressing the image
|
// Actually start decompressing the image
|
||||||
jpeg_start_decompress(&cinfo);
|
jpeg_start_decompress(&cinfo);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user