]> git.proxmox.com Git - qemu.git/blobdiff - ui/vnc.c
pixman: fix vnc tight png/jpeg support
[qemu.git] / ui / vnc.c
index ba303626ad0aacc1d1e45cd0d1a07c0aa866052b..04afcffc52a6e2b4d3d71653d0f12d4b2ed13f72 100644 (file)
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -2569,7 +2569,7 @@ static int vnc_refresh_server_surface(VncDisplay *vd)
             uint8_t *server_ptr;
 
             if (vd->guest.format != VNC_SERVER_FB_FORMAT) {
-                qemu_pixman_linebuf_fill(tmpbuf, vd->guest.fb, width, y);
+                qemu_pixman_linebuf_fill(tmpbuf, vd->guest.fb, width, 0, y);
                 guest_ptr = (uint8_t *)pixman_image_get_data(tmpbuf);
             } else {
                 guest_ptr = guest_row;