summary refs log tree commit diff stats
path: root/hw/pl110.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl110.c')
-rw-r--r--hw/pl110.c2
1 files changed, 1 insertions, 1 deletions
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;