[PATCH 2/2]mscms: make the correct value for bmformat.
Zhao Yi
zhaoyi at uniontech.com
Thu May 26 04:48:11 CDT 2022
Signed-off-by: Zhao Yi <zhaoyi at uniontech.com>
---
dlls/mscms/transform.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/mscms/transform.c b/dlls/mscms/transform.c
index 0d48e217d66..21f58e73134 100644
--- a/dlls/mscms/transform.c
+++ b/dlls/mscms/transform.c
@@ -39,12 +39,12 @@ static DWORD from_bmformat( BMFORMAT format )
switch (format)
{
- case BM_RGBTRIPLETS: ret = TYPE_RGB_8; break;
- case BM_BGRTRIPLETS: ret = TYPE_BGR_8; break;
+ case BM_RGBTRIPLETS: ret = TYPE_BGR_8; break;
+ case BM_BGRTRIPLETS: ret = TYPE_RGB_8; break;
case BM_GRAY: ret = TYPE_GRAY_8; break;
- case BM_xRGBQUADS: ret = TYPE_ARGB_8; break;
- case BM_xBGRQUADS: ret = TYPE_ABGR_8; break;
- case BM_KYMCQUADS: ret = TYPE_KYMC_8; break;
+ case BM_xRGBQUADS: ret = TYPE_ABGR_8; break;
+ case BM_xBGRQUADS: ret = TYPE_ARGB_8; break;
+ case BM_KYMCQUADS: ret = TYPE_CMYK_8; break;
default:
if (!quietfixme)
{
--
2.20.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220526/c1a1b479/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-PATCH-2-2-mscms-make-the-correct-value-for-bmformat.patch
Type: application/octet-stream
Size: 1247 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220526/c1a1b479/attachment.obj>
More information about the wine-devel
mailing list