From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFMWa-0001ck-Gl for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:34:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFMVq-00050P-OW for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:33:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFMVq-000504-Fo for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:32:54 -0400 From: Gerd Hoffmann Date: Tue, 12 Mar 2013 11:32:37 +0100 Message-Id: <1363084369-27517-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1363084369-27517-1-git-send-email-kraxel@redhat.com> References: <1363084369-27517-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 06/18] 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 (commit 187cd1d9f30d13f0d0ef682e4d91cfa3e4cbd472) 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