From: aurel32 Date: Fri, 16 Jan 2009 07:31:51 +0000 (+0000) Subject: hw/omap_sx1.c: fix build X-Git-Tag: stefano.display-merge-end~100 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6517ca2a760227b7eb1ded729b0e26f0fa61d73c;p=qemu-xen-3.4-testing.git hw/omap_sx1.c: fix build Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6341 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index 9eaa9131..67d317a0 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@ -201,7 +201,8 @@ static void sx1_init(ram_addr_t ram_size, int vga_ram_size, cpu->env->regs[15] = 0x00000000; } - dpy_resize(ds, 640, 480); + ds->surface = qemu_resize_displaysurface(ds->surface, 640, 480, 32, 4 * 640); + dpy_resize(ds); } static void sx1_init_v1(ram_addr_t ram_size, int vga_ram_size,