gdi32: Respect the FC_ANTIALIAS setting for the FC_RGBA_NONE case.

Signed-off-by: Byeongsik Jeon <bsjeon@hanmail.net>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Byeongsik Jeon 2018-10-29 21:50:21 +09:00 committed by Alexandre Julliard
parent af90ab3259
commit 2b52474fdd
1 changed files with 1 additions and 1 deletions

View File

@ -2772,7 +2772,7 @@ static UINT parse_aa_pattern( FcPattern *pattern )
case FC_RGBA_BGR: aa_flags = WINE_GGO_HBGR_BITMAP; break;
case FC_RGBA_VRGB: aa_flags = WINE_GGO_VRGB_BITMAP; break;
case FC_RGBA_VBGR: aa_flags = WINE_GGO_VBGR_BITMAP; break;
case FC_RGBA_NONE: aa_flags = GGO_GRAY4_BITMAP; break;
case FC_RGBA_NONE: aa_flags = aa_flags ? aa_flags : GGO_GRAY4_BITMAP; break;
}
}
return aa_flags;