[PATCH 8/9] gdi32: Use NtGdiCreateDIBBrush for CreateDIBPatternBrushPt.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- dlls/gdi32/brush.c | 11 ++++++----- dlls/gdi32/objects.c | 8 ++++++++ include/ntgdi.h | 3 ++- 3 files changed, 16 insertions(+), 6 deletions(-)
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.
participants (2)
-
Huw Davies -
Jacek Caban