From 77927cec02538f483fba44f38b72ed5f23185308 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 8 Jul 2010 12:41:47 +0200 Subject: Use QXLFIXED, not SPICE_FIXED28_4 in qxl_dev.h --- spice/qxl_dev.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index d6a23fd..c3287e4 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -78,9 +78,12 @@ enum { QXL_IO_RANGE_SIZE }; +typedef uint64_t QXLPHYSICAL; +typedef int32_t QXLFIXED; //fixed 28.4 + typedef struct SPICE_ATTR_PACKED QXLPointFix { - SPICE_FIXED28_4 x; - SPICE_FIXED28_4 y; + QXLFIXED x; + QXLFIXED y; } QXLPointFix; typedef struct SPICE_ATTR_PACKED QXLPoint { @@ -144,9 +147,6 @@ typedef struct SPICE_ATTR_PACKED QXLModes { QXLMode modes[0]; } QXLModes; -typedef uint64_t QXLPHYSICAL; -typedef uint32_t QXLFIXED; //fixed 28.4 - /* qxl-1 compat: append only */ enum QXLCmdType { QXL_CMD_NOP, @@ -409,9 +409,9 @@ typedef struct SPICE_ATTR_PACKED QXLLineAttr { uint8_t join_style; uint8_t end_style; uint8_t style_nseg; - SPICE_FIXED28_4 width; - SPICE_FIXED28_4 miter_limit; - QXLPHYSICAL style; //data[0] ? + QXLFIXED width; + QXLFIXED miter_limit; + QXLPHYSICAL style; } QXLLineAttr; typedef struct SPICE_ATTR_PACKED QXLStroke { -- cgit