summaryrefslogtreecommitdiffstats
path: root/ui/vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/vnc.c')
-rw-r--r--ui/vnc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index cdafd09d..49de39d 100644
--- a/ui/vnc.c
+++ b/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;
OpenPOWER on IntegriCloud