提交 132ea32f 编写于 作者: P pbrook

Fix display resize bug.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1825 c046a42c-6fe2-441c-8c8c-71466251a162
上级 d7ce493a
...@@ -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)
{ {
if (width != s->cols || height != s->rows) { if (width != s->cols || height != s->rows) {
if (pl110_enabled(s)) { if (pl110_enabled(s)) {
dpy_resize(s->ds, s->cols, s->rows); dpy_resize(s->ds, width, height);
} }
} }
s->cols = width; s->cols = width;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册