mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
IMAGE: Fix build when not using libjpeg-turbo
This commit is contained in:
parent
8ffa737901
commit
efcd8ab270
@ -184,6 +184,7 @@ void outputMessage(j_common_ptr cinfo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
J_COLOR_SPACE fromScummvmPixelFormat(const Graphics::PixelFormat &format) {
|
J_COLOR_SPACE fromScummvmPixelFormat(const Graphics::PixelFormat &format) {
|
||||||
|
#if defined(JCS_EXTENSIONS) or defined(JCS_ALPHA_EXTENSIONS)
|
||||||
struct PixelFormatMapping {
|
struct PixelFormatMapping {
|
||||||
Graphics::PixelFormat pixelFormat;
|
Graphics::PixelFormat pixelFormat;
|
||||||
J_COLOR_SPACE bigEndianColorSpace;
|
J_COLOR_SPACE bigEndianColorSpace;
|
||||||
@ -219,6 +220,7 @@ J_COLOR_SPACE fromScummvmPixelFormat(const Graphics::PixelFormat &format) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return JCS_UNKNOWN;
|
return JCS_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user