When checking, whether we use alpha channel, we need to compare color format with constant with the same byte order. --- Changes since v1: - New commit --- common/canvas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/canvas_base.c b/common/canvas_base.c index 4c1bd2c..c089dcc 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -1267,7 +1267,7 @@ static pixman_image_t *canvas_get_image_internal(CanvasBase *canvas, SpiceImage If so we convert here. */ wanted_format = canvas_get_target_format(canvas, - surface_format == PIXMAN_a8r8g8b8); + surface_format == PIXMAN_LE_a8r8g8b8); if (surface_format != wanted_format) { converted = surface_create( -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel