Fixed source format for bitmap decompress.

This commit is contained in:
Armin Novak 2016-07-15 16:34:51 +02:00
parent f9a89ae6b4
commit 39d6ad3acf
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap,
}
else
{
SrcFormat = gdi_get_pixel_format(bpp, FALSE);
SrcFormat = gdi_get_pixel_format(bpp, TRUE);
status = freerdp_image_copy(bitmap->data, bitmap->format, 0, 0, 0,
width, height, pSrcData, SrcFormat,
0, 0, 0, &gdi->palette);