mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-12 21:38:08 +00:00
qxl_dev: Add comment to QXLQUICData->data field
Recently a bug using this structure was fixed. The bug involved understand the usage of this field so add some note on the field for future reference. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
22f1b1297b
commit
7d28c75ba6
@ -740,6 +740,9 @@ typedef struct SPICE_ATTR_PACKED QXLSurfaceId {
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED QXLQUICData {
|
||||
uint32_t data_size;
|
||||
/* This data for QUIC is a QXLDataChunk.
|
||||
* This differs from QXLBitmap where it's a reference to bitmap data or
|
||||
* a reference to QXLDataChunk */
|
||||
uint8_t data[0];
|
||||
} QXLQUICData, QXLLZRGBData, QXLJPEGData;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user