GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255

This commit is contained in:
dborth 2017-04-03 09:28:22 -06:00 committed by GitHub
parent 2ac1f14973
commit 8833c0dd79

View File

@ -153,6 +153,7 @@ void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w, int h, in
} }
void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) { void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) {
client->format.trueColour = 1;
switch(color_depth) { switch(color_depth) {
case 8: case 8:
client->format.depth = 8; client->format.depth = 8;