提交 468dfd6d 编写于 作者: G Gerd Hoffmann

sdl: drop dead code

DisplayAllocator removal (commit
187cd1d9) made this a nop.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 c099e7aa
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册