sdl: drop dead code
DisplayAllocator removal (commit
187cd1d9f3
) made this a nop.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
c099e7aa02
commit
468dfd6de2
5
ui/sdl.c
5
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)
|
||||
|
Loading…
Reference in New Issue
Block a user