diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-12-07 23:59:04 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-12-09 08:43:07 -0800 |
commit | a8fcbf8c2dc48f0e015093e061c5b7efb63fbdc1 (patch) | |
tree | cf801ac81a747be4a132d883fe095cc1f09764db /vnc | |
parent | 42272c0f1891264af718e8f0a02ebc883f248ed8 (diff) | |
download | xrdp-proprietary-a8fcbf8c2dc48f0e015093e061c5b7efb63fbdc1.tar.gz xrdp-proprietary-a8fcbf8c2dc48f0e015093e061c5b7efb63fbdc1.zip |
Fix support for 32-bpp clients connecting to 16-bpp VNC
Diffstat (limited to 'vnc')
-rw-r--r-- | vnc/vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1288,7 +1288,7 @@ lib_mod_connect(struct vnc *v) out_uint8(pixel_format, 0); /* blue shift */ out_uint8s(pixel_format, 3); /* pad */ } - else if (v->mod_bpp == 24) + else if (v->mod_bpp == 24 || v->mod_bpp == 32) { out_uint8(pixel_format, 32); /* bits per pixel */ out_uint8(pixel_format, 24); /* depth */ |