[Spice-devel] [PATCH qxl-wddm-dod 12/12] Move m_CustomMode field in QxlDevice

Frediano Ziglio fziglio at redhat.com
Wed Apr 12 13:19:59 UTC 2017


Only used by this class.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 qxldod/QxlDod.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h
index 0c975fe..e865032 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -316,7 +316,6 @@ protected:
     ULONG m_ModeCount;
     PUSHORT m_ModeNumbers;
     USHORT m_CurrentMode;
-    USHORT m_CustomMode;
     ULONG  m_Id;
 };
 
@@ -625,6 +624,8 @@ private:
     static LONG GetMaxSourceMappingHeight(RECT* DirtyRects, ULONG NumDirtyRects);
 
 private:
+    USHORT m_CustomMode;
+
     PUCHAR m_IoBase;
     BOOLEAN m_IoMapped;
     ULONG m_IoSize;
-- 
2.9.3



More information about the Spice-devel mailing list