From bc03c010b3d6bffe485f3ffc923d2f5cc13cc177 Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Thu, 29 May 2025 05:06:41 +0200 Subject: [PATCH] [WIN32K:DIB] USE_DIBLIB: Use new DIB_16BPP_AlphaBlend() (#4568) * [WIN32K:DIB] Fix 'DIB_16BPP_AlphaBlend' copypasta in a DPRINT() Addendum to 684c3d3 (r49275). * [WIN32K:DIB] USE_DIBLIB: Use new DIB_16BPP_AlphaBlend() Addendum to 7540c2e (r64953). --- win32ss/gdi/dib/alphablend.c | 2 +- win32ss/gdi/dib/dib_new.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/win32ss/gdi/dib/alphablend.c b/win32ss/gdi/dib/alphablend.c index 6e856213892..24897e4a0e7 100644 --- a/win32ss/gdi/dib/alphablend.c +++ b/win32ss/gdi/dib/alphablend.c @@ -43,7 +43,7 @@ DIB_XXBPP_AlphaBlend(SURFOBJ* Dest, SURFOBJ* Source, RECTL* DestRect, EXLATEOBJ exloSrcRGB, exloDstRGB, exloRGBSrc; PFN_DIB_PutPixel pfnDibPutPixel = DibFunctionsForBitmapFormat[Dest->iBitmapFormat].DIB_PutPixel; - DPRINT("DIB_16BPP_AlphaBlend: srcRect: (%d,%d)-(%d,%d), dstRect: (%d,%d)-(%d,%d)\n", + DPRINT("DIB_XXBPP_AlphaBlend: srcRect: (%d,%d)-(%d,%d), dstRect: (%d,%d)-(%d,%d)\n", SourceRect->left, SourceRect->top, SourceRect->right, SourceRect->bottom, DestRect->left, DestRect->top, DestRect->right, DestRect->bottom); diff --git a/win32ss/gdi/dib/dib_new.c b/win32ss/gdi/dib/dib_new.c index 918c7a4d866..5a77711d3f0 100644 --- a/win32ss/gdi/dib/dib_new.c +++ b/win32ss/gdi/dib/dib_new.c @@ -51,7 +51,7 @@ DIB_FUNCTIONS DibFunctionsForBitmapFormat[] = { DIB_16BPP_PutPixel, DIB_16BPP_GetPixel, DIB_16BPP_HLine, DIB_16BPP_VLine, 0, 0, DIB_XXBPP_StretchBlt, - DIB_16BPP_TransparentBlt, 0, DIB_XXBPP_AlphaBlend + DIB_16BPP_TransparentBlt, 0, DIB_16BPP_AlphaBlend }, /* BMF_24BPP */ {