From 7a7ffc2c19038ba34f8f3c5672658a2bf42da9ee Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 29 Sep 2019 15:08:06 -0700 Subject: [PATCH] GUACAMOLE-249: Add missing pixel format parameter to pointer image copy. --- src/protocols/rdp/rdp_pointer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols/rdp/rdp_pointer.c b/src/protocols/rdp/rdp_pointer.c index 99752448..58497793 100644 --- a/src/protocols/rdp/rdp_pointer.c +++ b/src/protocols/rdp/rdp_pointer.c @@ -48,8 +48,8 @@ BOOL guac_rdp_pointer_new(rdpContext* context, rdpPointer* pointer) { /* Convert to alpha cursor if mask data present */ if (pointer->andMaskData && pointer->xorMaskData) - freerdp_image_copy_from_pointer_data(data, 0, 0, 0, - pointer->width, pointer->height, + freerdp_image_copy_from_pointer_data(data, PIXEL_FORMAT_ARGB32, + 0, 0, 0, pointer->width, pointer->height, pointer->xorMaskData, pointer->lengthXorMask, pointer->andMaskData, pointer->lengthAndMask, pointer->xorBpp, &context->gdi->palette);