diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-28 10:48:36 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-18 10:21:58 +0100 |
| commit | 468dfd6de2df3cbaed8c5cc43f8fbde6f94f9dbc (patch) | |
| tree | a62266ac8a93767ed34a8dc7742778fe4ff15c44 | |
| parent | c099e7aa0295678859d58e9e60b7619f6ae3bac8 (diff) | |
| download | focaccia-qemu-468dfd6de2df3cbaed8c5cc43f8fbde6f94f9dbc.tar.gz focaccia-qemu-468dfd6de2df3cbaed8c5cc43f8fbde6f94f9dbc.zip | |
sdl: drop dead code
DisplayAllocator removal (commit 187cd1d9f30d13f0d0ef682e4d91cfa3e4cbd472) made this a nop. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
| -rw-r--r-- | ui/sdl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/sdl.c b/ui/sdl.c index 5baffa0094..fc4dc1b18d 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) |