mirror of https://github.com/FreeRDP/FreeRDP
fix an issue with bitmap creation in X11 client where xfi->srcBpp differs from the connection's color depth
This commit is contained in:
parent
ac4b32b9cc
commit
e43e14e2e7
|
@ -43,7 +43,7 @@ void xf_Bitmap_New(rdpContext* context, rdpBitmap* bitmap)
|
|||
if (bitmap->data != NULL)
|
||||
{
|
||||
data = freerdp_image_convert(bitmap->data, NULL,
|
||||
bitmap->width, bitmap->height, xfi->srcBpp, xfi->bpp, xfi->clrconv);
|
||||
bitmap->width, bitmap->height, bitmap->bpp, xfi->bpp, xfi->clrconv);
|
||||
|
||||
if (bitmap->ephemeral != true)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue