mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-10 23:57:38 +00:00
qxl: Remove red_put_blend()
SpiceBlend is a typedef to SpiceCopy, and red_put_blend() and red_put_copy() are identical, so we can add a #define red_put_blend red_put_copy similar to the one we already have for red_get_blend. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
357677af9a
commit
24094348dd
@ -712,12 +712,7 @@ static void red_put_copy(SpiceCopy *red)
|
||||
|
||||
// these types are really the same thing
|
||||
#define red_get_blend_ptr red_get_copy_ptr
|
||||
|
||||
static void red_put_blend(SpiceBlend *red)
|
||||
{
|
||||
red_put_image(red->src_bitmap);
|
||||
red_put_qmask(&red->mask);
|
||||
}
|
||||
#define red_put_blend red_put_copy
|
||||
|
||||
static void red_get_transparent_ptr(RedMemSlotInfo *slots, int group_id,
|
||||
SpiceTransparent *red, QXLTransparent *qxl,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user