[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 06/18] sdl: drop dead code
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 06/18] sdl: drop dead code |
Date: |
Tue, 12 Mar 2013 11:32:37 +0100 |
DisplayAllocator removal (commit
187cd1d9f30d13f0d0ef682e4d91cfa3e4cbd472) made this a nop.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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
- [Qemu-devel] [PATCH 00/18] console: data structures overhaul, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 04/18] qxl: zap qxl0 global, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 03/18] spice: zap sdpy global, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 06/18] sdl: drop dead code,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 01/18] console: fix displaychangelisteners interface, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 02/18] console: kill DisplayState->opaque, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 10/18] gtk: stop using DisplayState, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/12