diff --git a/ui/vnc.c b/ui/vnc.c index 5dd77e73cbb4b1962fcd19d20e01300713616eff..4318294c248b1a71f975ac57964a755365e7486f 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -2327,6 +2327,7 @@ static void pixel_format_message (VncState *vs) { char pad[3] = { 0, 0, 0 }; vs->client_pf = qemu_default_pixelformat(32); + vs->client_endian = G_BYTE_ORDER; vnc_write_u8(vs, vs->client_pf.bits_per_pixel); /* bits-per-pixel */ vnc_write_u8(vs, vs->client_pf.depth); /* depth */