summaryrefslogtreecommitdiff
path: root/hw/vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vga.c')
-rw-r--r--hw/vga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 5bb22f9cc..1b6af239f 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2799,6 +2799,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;