Module: wine Branch: master Commit: 11c7a67ac317130ecd980a5880fb1a2974570f33 URL: http://source.winehq.org/git/wine.git/?a=commit;h=11c7a67ac317130ecd980a5880... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Apr 22 20:48:30 2010 +0200 winex11: Use a format with 8 bits of alpha for the AlphaBlend mask. --- dlls/winex11.drv/xrender.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index 83f8048..0d4ef60 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -1581,11 +1581,11 @@ static Picture get_mask_pict( int alpha ) if (!pixmap) { - const WineXRenderFormat *fmt = get_xrender_format( WXR_FORMAT_MONO ); + const WineXRenderFormat *fmt = get_xrender_format( WXR_FORMAT_A8R8G8B8 ); XRenderPictureAttributes pa; wine_tsx11_lock(); - pixmap = XCreatePixmap( gdi_display, root_window, 1, 1, 1 ); + pixmap = XCreatePixmap( gdi_display, root_window, 1, 1, 32 ); pa.repeat = RepeatNormal; pict = pXRenderCreatePicture( gdi_display, pixmap, fmt->pict_format, CPRepeat, &pa ); wine_tsx11_unlock();