diff --git a/spice/protocol.h b/spice/protocol.h index c63d1a1..c78ba8c 100644 --- a/spice/protocol.h +++ b/spice/protocol.h @@ -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 { diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index 2873101..30f8eab 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -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;