Merge pull request #3512 from nathankidd/redundant-rfx-conversion

client/X11: Only upconvert < 24 bit RFX tiles
This commit is contained in:
akallabeth 2016-09-27 12:33:44 +02:00 committed by GitHub
commit 3a9cc2cac8

View File

@ -1215,7 +1215,7 @@ BOOL xf_gdi_surface_bits(rdpContext* context, SURFACE_BITS_COMMAND* cmd)
pSrcData = message->tiles[i]->data;
pDstData = pSrcData;
if ((xfc->depth != 24) || (xfc->depth != 32))
if ((xfc->depth != 24) && (xfc->depth != 32))
{
pDstData = xfc->bitmap_buffer;