[PATCH 8/9] gdi32: Use NtGdiCreateDIBBrush for CreateDIBPatternBrushPt.

Huw Davies huw at codeweavers.com
Wed Aug 25 07:40:49 CDT 2021


On Wed, Aug 25, 2021 at 01:14:17PM +0200, Jacek Caban wrote:
> diff --git a/dlls/gdi32/brush.c b/dlls/gdi32/brush.c
> index c723b7c842f..7fdd2fcb7c8 100644
> --- a/dlls/gdi32/brush.c
> +++ b/dlls/gdi32/brush.c
> @@ -245,20 +245,21 @@ HBRUSH WINAPI CreateDIBPatternBrush( HGLOBAL hbitmap, UINT coloruse )
>  
>  
>  /***********************************************************************
> - *           CreateDIBPatternBrushPt    (GDI32.@)
> + *           CreateDIBPatternBrushPt    (win32u.@)
>   *
>   * Create a logical brush with a pattern from a DIB.
>   */
> -HBRUSH WINAPI CreateDIBPatternBrushPt( const void* data, UINT coloruse )
> +HBRUSH WINAPI NtGdiCreateDIBBrush( const void *data, UINT coloruse, UINT size,
> +                                   BOOL is_8x8, BOOL pen, const void *client )
>  {

I've sent in v2 which fixes the comment here.

Huw.



More information about the wine-devel mailing list