|
@@ -1510,7 +1510,7 @@ void qemu_console_resize(QemuConsole *s, int width, int height)
|
|
assert(QEMU_IS_GRAPHIC_CONSOLE(s));
|
|
assert(QEMU_IS_GRAPHIC_CONSOLE(s));
|
|
|
|
|
|
if ((s->scanout.kind != SCANOUT_SURFACE ||
|
|
if ((s->scanout.kind != SCANOUT_SURFACE ||
|
|
- (surface && !is_buffer_shared(surface) && !is_placeholder(surface))) &&
|
|
|
|
|
|
+ (surface && !is_buffer_shared(surface) && !surface_is_placeholder(surface))) &&
|
|
qemu_console_get_width(s, -1) == width &&
|
|
qemu_console_get_width(s, -1) == width &&
|
|
qemu_console_get_height(s, -1) == height) {
|
|
qemu_console_get_height(s, -1) == height) {
|
|
return;
|
|
return;
|