allow 15 bpp compress like 16 bpp
This commit is contained in:
parent
fc1fa0b55a
commit
674f399bf9
@ -948,7 +948,7 @@ xrdp_bitmap_compress(char* in_data, int width, int height,
|
|||||||
OUT_COPY_COUNT1(count, s, temp_s);
|
OUT_COPY_COUNT1(count, s, temp_s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (bpp == 16)
|
else if ((bpp == 15) || (bpp == 16))
|
||||||
{
|
{
|
||||||
mix = 0xffff;
|
mix = 0xffff;
|
||||||
out_count = end * 2;
|
out_count = end * 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user