fix an issue with bitmap creation in X11 client where xfi->srcBpp differs from the connection's color depth

This commit is contained in:
Lysann Kessler 2012-07-24 18:05:34 +02:00
parent ac4b32b9cc
commit e43e14e2e7
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{