vnc: zap dead code
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Lieven <pl@kamp.de> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1446203414-4013-11-git-send-email-kraxel@redhat.com
This commit is contained in:
parent
d90340115a
commit
e081aae5ae
4
ui/vnc.c
4
ui/vnc.c
@ -732,10 +732,6 @@ static void vnc_dpy_switch(DisplayChangeListener *dcl,
|
||||
width, height, NULL, 0);
|
||||
|
||||
/* guest surface */
|
||||
#if 0 /* FIXME */
|
||||
if (ds_get_bytes_per_pixel(ds) != vd->guest.ds->pf.bytes_per_pixel)
|
||||
console_color_init(ds);
|
||||
#endif
|
||||
qemu_pixman_image_unref(vd->guest.fb);
|
||||
vd->guest.fb = pixman_image_ref(surface->image);
|
||||
vd->guest.format = surface->format;
|
||||
|
Loading…
Reference in New Issue
Block a user