Pass format when creating surfaces rather than depth

This commit is contained in:
Alexander Larsson 2010-04-19 15:46:53 +02:00
parent 8ef80db4ac
commit 916f3818d8
2 changed files with 3 additions and 4 deletions

View File

@ -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 {

View File

@ -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;