GUACAMOLE-249: Add missing pixel format parameter to pointer image copy.
This commit is contained in:
parent
65fe6c9735
commit
7a7ffc2c19
@ -48,8 +48,8 @@ BOOL guac_rdp_pointer_new(rdpContext* context, rdpPointer* pointer) {
|
|||||||
|
|
||||||
/* Convert to alpha cursor if mask data present */
|
/* Convert to alpha cursor if mask data present */
|
||||||
if (pointer->andMaskData && pointer->xorMaskData)
|
if (pointer->andMaskData && pointer->xorMaskData)
|
||||||
freerdp_image_copy_from_pointer_data(data, 0, 0, 0,
|
freerdp_image_copy_from_pointer_data(data, PIXEL_FORMAT_ARGB32,
|
||||||
pointer->width, pointer->height,
|
0, 0, 0, pointer->width, pointer->height,
|
||||||
pointer->xorMaskData, pointer->lengthXorMask,
|
pointer->xorMaskData, pointer->lengthXorMask,
|
||||||
pointer->andMaskData, pointer->lengthAndMask,
|
pointer->andMaskData, pointer->lengthAndMask,
|
||||||
pointer->xorBpp, &context->gdi->palette);
|
pointer->xorBpp, &context->gdi->palette);
|
||||||
|
Loading…
Reference in New Issue
Block a user