summaryrefslogtreecommitdiff
path: root/hw/omap_sx1.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 07:31:51 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 07:31:51 +0000
commit6517ca2a760227b7eb1ded729b0e26f0fa61d73c (patch)
tree64ecab5d85a2e577550064a0b0e19cf458c902b2 /hw/omap_sx1.c
parent8fec2b8c454f00d9200e6eb75c6cda73f8425c00 (diff)
downloadqemu-6517ca2a760227b7eb1ded729b0e26f0fa61d73c.tar.gz
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
Diffstat (limited to 'hw/omap_sx1.c')
-rw-r--r--hw/omap_sx1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c
index 9eaa9131b2..67d317a09e 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,