allow 15 bpp compress like 16 bpp

This commit is contained in:
jsorg71 2008-11-08 07:51:05 +00:00
parent fc1fa0b55a
commit 674f399bf9

View File

@ -948,7 +948,7 @@ xrdp_bitmap_compress(char* in_data, int width, int height,
OUT_COPY_COUNT1(count, s, temp_s);
}
}
else if (bpp == 16)
else if ((bpp == 15) || (bpp == 16))
{
mix = 0xffff;
out_count = end * 2;