From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBLpi-0003o1-SE for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:01:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBLpg-00031K-CY for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:00:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:4120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBLpf-00030g-OB for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:00:48 -0500 From: Gerd Hoffmann Date: Fri, 1 Mar 2013 10:00:37 +0100 Message-Id: <1362128443-15687-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1362128443-15687-1-git-send-email-kraxel@redhat.com> References: <1362128443-15687-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 06/12] sdl: drop dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Gerd Hoffmann DisplayAllocator removal made this a nop. Signed-off-by: Gerd Hoffmann --- 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