mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
ui/console: remove redundant format field
It's already part of PIXMAN image. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -437,7 +437,7 @@ void qemu_spice_display_switch(SimpleSpiceDisplay *ssd,
|
||||
}
|
||||
if (ssd->ds) {
|
||||
ssd->surface = pixman_image_ref(ssd->ds->image);
|
||||
ssd->mirror = qemu_pixman_mirror_create(ssd->ds->format,
|
||||
ssd->mirror = qemu_pixman_mirror_create(surface_format(ssd->ds),
|
||||
ssd->ds->image);
|
||||
qemu_spice_create_host_primary(ssd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user