Skip to contentSkip to conversation

[6341] hw/omap_sx1.c: fix build

Qemu-devel Aurelien Jarno 1 participant 1 message Jan 16, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6341

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6341
Author:   aurel32
Date:     2009-01-16 07:31:51 +0000 (Fri, 16 Jan 2009)

Log Message:
-----------
hw/omap_sx1.c: fix build

Modified Paths:
--------------

    trunk/hw/omap_sx1.c

Modified: trunk/hw/omap_sx1.c
===================================================================

hw/omap_sx1.c +2 -1
@@ -201,7 +201,8 @@
         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,