hw/omap_sx1.c: fix build

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6341 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2009-01-16 07:31:51 +00:00
parent 8fec2b8c45
commit 6517ca2a76

View File

@ -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,