diff options
author | jsorg71 <jsorg71> | 2008-11-08 07:51:05 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-11-08 07:51:05 +0000 |
commit | 674f399bf92d303ced889ea948d3b695e4081067 (patch) | |
tree | 505b00471919ff0f4ef7caf506f96024ede79aa1 /libxrdp | |
parent | fc1fa0b55adafa40316a2a13223ce405152f2690 (diff) | |
download | xrdp-proprietary-674f399bf92d303ced889ea948d3b695e4081067.tar.gz xrdp-proprietary-674f399bf92d303ced889ea948d3b695e4081067.zip |
allow 15 bpp compress like 16 bpp
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/xrdp_bitmap_compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libxrdp/xrdp_bitmap_compress.c b/libxrdp/xrdp_bitmap_compress.c index 0a05b87f..db1d573a 100644 --- a/libxrdp/xrdp_bitmap_compress.c +++ b/libxrdp/xrdp_bitmap_compress.c @@ -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; |