Fixed #6121: Use correct destination color format
This commit is contained in:
parent
5d56937e20
commit
c0a17eb342
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user