sdl: drop dead code
DisplayAllocator removal (commit 187cd1d9f30d13f0d0ef682e4d91cfa3e4cbd472) 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);
|
do_sdl_resize(width, height, bpp);
|
||||||
scaling_active = 1;
|
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)
|
static void toggle_full_screen(DisplayState *ds)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user