summaryrefslogtreecommitdiffstats
path: root/vnc/vnc.c
diff options
context:
space:
mode:
authorSpeidy <speidy@gmail.com>2016-12-12 15:51:39 -0800
committerSpeidy <speidy@gmail.com>2016-12-12 15:51:39 -0800
commita0cf6030df8364d4a5ab775a8e91ccfeb0ef4209 (patch)
tree57864869313a3be01062333613b4b057952b7534 /vnc/vnc.c
parent1ef5c2412c07b108bcf5d2984d576578ffb83ef8 (diff)
parent5966de4ee2b8cf14a86b36f47b8015fc17f026ea (diff)
downloadxrdp-proprietary-a0cf6030df8364d4a5ab775a8e91ccfeb0ef4209.tar.gz
xrdp-proprietary-a0cf6030df8364d4a5ab775a8e91ccfeb0ef4209.zip
Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into surface_cmds
Diffstat (limited to 'vnc/vnc.c')
-rw-r--r--vnc/vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index 8fe3a8bc..3a91ea9d 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -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 */