mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 17:15:21 +00:00
server: red_send_image() initialize bitmap.flags
We're currently sending this to the network based on random memory.
This commit is contained in:
parent
80bb4d95a0
commit
c13f931b5f
@ -7855,6 +7855,7 @@ static void red_send_image(DisplayChannel *display_channel, ImageItem *item)
|
||||
red_image.descriptor.height = item->height;
|
||||
|
||||
bitmap.format = item->image_format;
|
||||
bitmap.flags = 0;
|
||||
if (item->top_down) {
|
||||
bitmap.flags |= SPICE_BITMAP_FLAGS_TOP_DOWN;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user