summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index bb9a6fc5..1846f0aa 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -354,16 +354,6 @@ xrdp_rdp_parse_client_mcs_data(struct xrdp_rdp* self)
self->client_info.bpp = 24;
break;
}
- /* todo - for now, don't allow unsupported bpp connections
- xrdp_rdp_send_demand_active will tell the client what bpp to use */
- if (self->client_info.bpp == 24)
- {
- //self->client_info.bpp = 16;
- }
- if (self->client_info.bpp == 15)
- {
- self->client_info.bpp = 16;
- }
p->p = p->data;
DEBUG(("client width %d, client height %d bpp %d",
self->client_info.width, self->client_info.height,