diff options
| author | Itamar Reis Peixoto <itamar@ispbrasil.com.br> | 2016-12-11 11:31:03 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-11 11:31:03 -0200 |
| commit | 091e6d6f57783649f83aa5a0a48a2f1ff0461003 (patch) | |
| tree | e73e4d3275c1780b2b783fa28041ce9bb742e75d | |
| parent | 5171fa79cfba8a8c7a164be068f1e19b987a3b5d (diff) | |
| parent | a8fcbf8c2dc48f0e015093e061c5b7efb63fbdc1 (diff) | |
| download | xrdp-proprietary-091e6d6f57783649f83aa5a0a48a2f1ff0461003.tar.gz xrdp-proprietary-091e6d6f57783649f83aa5a0a48a2f1ff0461003.zip | |
Merge pull request #529 from proski/vnc32
Fix support for 32-bpp clients connecting to 16-bpp 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 */ |
