Commit 6517ca2a760227b7eb1ded729b0e26f0fa61d73c

Authored by aurel32
1 parent 8fec2b8c

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
Showing 1 changed file with 2 additions and 1 deletions
hw/omap_sx1.c
... ... @@ -201,7 +201,8 @@ static void sx1_init(ram_addr_t ram_size, int vga_ram_size,
201 201 cpu->env->regs[15] = 0x00000000;
202 202 }
203 203  
204   - dpy_resize(ds, 640, 480);
  204 + ds->surface = qemu_resize_displaysurface(ds->surface, 640, 480, 32, 4 * 640);
  205 + dpy_resize(ds);
205 206 }
206 207  
207 208 static void sx1_init_v1(ram_addr_t ram_size, int vga_ram_size,
... ...