Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui/console: fix qemu_console_resize() regression
The display may be corrupted when changing screen colour depth in qemu-system-ppc/MacOS since 7.0. Do not short-cut qemu_console_resize() if the surface is backed by vga vram. When the scanout isn't set, or it is already allocated, or opengl, and the size is fitting, we still avoid the reallocation & replace path. Fixes: commit cb8962c ("ui: do not create a surface when resizing a GL scanout") Reported-by: Mark Cave-Ayland <[email protected]> Signed-off-by: Marc-André Lureau <[email protected]> Acked-by: Gerd Hoffmann <[email protected]> Tested-by: Mark Cave-Ayland <[email protected]> Message-Id: <[email protected]>
- Loading branch information