|
From: | Michael Tokarev |
Subject: | Re: [PATCH] ui/console: Fix console resize with placeholder surface |
Date: | Thu, 8 Feb 2024 00:07:10 +0300 |
User-agent: | Mozilla Thunderbird |
07.02.2024 20:20, Tianlan Zhou :
In `qemu_console_resize()`, the old surface of the console is keeped if the new console size is the same as the old one. If the old surface is a placeholder, and the new size of console is the same as the placeholder surface (640*480), the surface won't be replace. In this situation, the surface's `QEMU_PLACEHOLDER_FLAG` flag is still set, so the console won't be displayed in SDL display mode. This patch fixes this problem by forcing a new surface if the old one is a placeholder.
Cc qemu-stable /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |