Commit 132ea32fae4857b518475f8cded52f5ace56a399
1 parent
d7ce493a
Fix display resize bug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1825 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/pl110.c
@@ -261,7 +261,7 @@ static void pl110_resize(pl110_state *s, int width, int height) | @@ -261,7 +261,7 @@ static void pl110_resize(pl110_state *s, int width, int height) | ||
261 | { | 261 | { |
262 | if (width != s->cols || height != s->rows) { | 262 | if (width != s->cols || height != s->rows) { |
263 | if (pl110_enabled(s)) { | 263 | if (pl110_enabled(s)) { |
264 | - dpy_resize(s->ds, s->cols, s->rows); | 264 | + dpy_resize(s->ds, width, height); |
265 | } | 265 | } |
266 | } | 266 | } |
267 | s->cols = width; | 267 | s->cols = width; |