diff options
Diffstat (limited to 'hw/vga.c')
-rw-r--r-- | hw/vga.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2637,6 +2637,7 @@ static void vga_screen_dump_common(VGAState *s, const char *filename, dcl.dpy_resize = vga_save_dpy_resize; dcl.dpy_refresh = vga_save_dpy_refresh; register_displaychangelistener(ds, &dcl); + ds->allocator = &default_allocator; ds->surface = qemu_create_displaysurface(ds, w, h); s->ds = ds; |