summaryrefslogtreecommitdiffstats
path: root/hw/omap_sx1.c
diff options
context:
space:
mode:
authoraurel322009-01-16 08:31:51 +0100
committeraurel322009-01-16 08:31:51 +0100
commit6517ca2a760227b7eb1ded729b0e26f0fa61d73c (patch)
tree64ecab5d85a2e577550064a0b0e19cf458c902b2 /hw/omap_sx1.c
parentglobal s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost) (diff)
downloadqemu-6517ca2a760227b7eb1ded729b0e26f0fa61d73c.tar.gz
qemu-6517ca2a760227b7eb1ded729b0e26f0fa61d73c.tar.xz
qemu-6517ca2a760227b7eb1ded729b0e26f0fa61d73c.zip
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,