qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RfC PATCH 06/12] sdl: drop dead code


From: Gerd Hoffmann
Subject: [Qemu-devel] [RfC PATCH 06/12] sdl: drop dead code
Date: Fri, 1 Mar 2013 10:00:37 +0100

DisplayAllocator removal 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]