mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-29 08:47:11 +00:00
Pass format when creating surfaces rather than depth
This commit is contained in:
parent
8ef80db4ac
commit
916f3818d8
@ -411,9 +411,8 @@ typedef struct SPICE_ATTR_PACKED SpiceMsgSurfaceCreate {
|
||||
uint32_t surface_id;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint8_t depth;
|
||||
uint32_t format;
|
||||
uint32_t flags;
|
||||
uint32_t type;
|
||||
} SpiceMsgSurfaceCreate;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpiceMsgSurfaceDestroy {
|
||||
|
||||
@ -145,7 +145,7 @@ typedef struct SPICE_ATTR_PACKED QXLSurfaceCreate {
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
int32_t stride;
|
||||
uint32_t depth;
|
||||
uint32_t format;
|
||||
uint32_t position;
|
||||
uint32_t mouse_mode;
|
||||
uint32_t flags;
|
||||
@ -312,7 +312,7 @@ enum QXLSurfaceCmdType {
|
||||
};
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED QXLSurface {
|
||||
uint8_t depth;
|
||||
uint32_t format;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
int32_t stride;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user