Fixed #6121: Use correct destination color format

This commit is contained in:
akallabeth 2020-04-25 14:03:13 +02:00
parent 5d56937e20
commit c0a17eb342

View File

@ -238,7 +238,7 @@ static BOOL wf_Pointer_New(rdpContext* context, const rdpPointer* pointer)
goto fail;
info.hbmColor = wf_create_dib((wfContext*)context, pointer->width, pointer->height,
srcFormat, NULL, &pdata);
gdi->dstFormat, NULL, &pdata);
if (!info.hbmColor)
goto fail;