diff --git a/hw/pl110.c b/hw/pl110.c index 09352e742f..ecebe35eb3 100644 --- a/hw/pl110.c +++ b/hw/pl110.c @@ -261,7 +261,7 @@ static void pl110_resize(pl110_state *s, int width, int height) { if (width != s->cols || height != s->rows) { if (pl110_enabled(s)) { - dpy_resize(s->ds, s->cols, s->rows); + dpy_resize(s->ds, width, height); } } s->cols = width;