DisplayAllocator removal made this a nop. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- ui/sdl.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/ui/sdl.c b/ui/sdl.c index 5baffa0..fc4dc1b 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -458,11 +458,6 @@ static void sdl_scale(DisplayState *ds, int width, int height) } do_sdl_resize(width, height, bpp); scaling_active = 1; - if (!is_buffer_shared(ds->surface)) { - ds->surface = qemu_resize_displaysurface(ds, ds_get_width(ds), - ds_get_height(ds)); - dpy_gfx_resize(ds); - } } static void toggle_full_screen(DisplayState *ds) -- 1.7.9.7