libfreerdp-codec: fix color pointer conversion

This commit is contained in:
Marc-André Moreau 2011-12-31 15:23:29 -05:00
parent 576429e1b6
commit 845d6ead55
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}