aboutsummaryrefslogtreecommitdiff
path: root/hw/display/virtio-gpu.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-08-10 15:28:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-08-30 13:24:13 +0200
commit91155f8bf723434cd22c46b12a040ebe90b0d651 (patch)
tree7fc2f94dbd49985cc48aea20068df2ad2838cc09 /hw/display/virtio-gpu.c
parent161f4c471732d8af9fd43f5818ee41fe1ba5be6e (diff)
downloadqemu-91155f8bf723434cd22c46b12a040ebe90b0d651.zip
qemu-91155f8bf723434cd22c46b12a040ebe90b0d651.tar.gz
qemu-91155f8bf723434cd22c46b12a040ebe90b0d651.tar.bz2
use dpy_gfx_update_full
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180810132856.22833-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/virtio-gpu.c')
-rw-r--r--hw/display/virtio-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c
index 1cc9530..410cf0c 100644
--- a/hw/display/virtio-gpu.c
+++ b/hw/display/virtio-gpu.c
@@ -1182,7 +1182,7 @@ static int virtio_gpu_load(QEMUFile *f, void *opaque, size_t size,
}
dpy_gfx_replace_surface(scanout->con, scanout->ds);
- dpy_gfx_update(scanout->con, 0, 0, scanout->width, scanout->height);
+ dpy_gfx_update_full(scanout->con);
if (scanout->cursor.resource_id) {
update_cursor(g, &scanout->cursor);
}