mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06: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:
parent
cc6ba2c6f5
commit
ff174c67db
6 changed files with 12 additions and 15 deletions
2
ui/vnc.c
2
ui/vnc.c
|
@ -833,7 +833,7 @@ static void vnc_dpy_switch(DisplayChangeListener *dcl,
|
|||
/* guest surface */
|
||||
qemu_pixman_image_unref(vd->guest.fb);
|
||||
vd->guest.fb = pixman_image_ref(surface->image);
|
||||
vd->guest.format = surface->format;
|
||||
vd->guest.format = surface_format(surface);
|
||||
|
||||
|
||||
if (pageflip) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue