mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
ui/console: remove redundant format field
It's already part of PIXMAN image. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
cc6ba2c6f5
commit
ff174c67db
6 changed files with 12 additions and 15 deletions
2
ui/gtk.c
2
ui/gtk.c
|
@ -514,7 +514,7 @@ static void gd_switch(DisplayChangeListener *dcl,
|
|||
}
|
||||
vc->gfx.ds = surface;
|
||||
|
||||
if (surface->format == PIXMAN_x8r8g8b8) {
|
||||
if (surface_format(surface) == PIXMAN_x8r8g8b8) {
|
||||
/*
|
||||
* PIXMAN_x8r8g8b8 == CAIRO_FORMAT_RGB24
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue