aboutsummaryrefslogtreecommitdiff
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 eeb77f1ff3..b1e43730db 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -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;