mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-codec: fix color pointer conversion
This commit is contained in:
parent
576429e1b6
commit
845d6ead55
|
@ -170,11 +170,6 @@ void xf_Pointer_New(rdpContext* context, rdpPointer* pointer)
|
|||
pointer->width, pointer->height, pointer->xorBpp, xfi->clrconv);
|
||||
}
|
||||
|
||||
if (pointer->xorBpp > 24)
|
||||
{
|
||||
freerdp_image_swap_color_order((uint8*) ci.pixels, ci.width, ci.height);
|
||||
}
|
||||
|
||||
((xfPointer*) pointer)->cursor = XcursorImageLoadCursor(xfi->display, &ci);
|
||||
xfree(ci.pixels);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue