[host] added support for cursor pitch

This commit is contained in:
Geoffrey McRae
2017-12-13 04:47:28 +11:00
parent b5a5d4cda2
commit f633c63d51
3 changed files with 3 additions and 0 deletions

View File

@@ -304,6 +304,7 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame)
frame.cursor.shape = m_pointer;
frame.cursor.w = shapeInfo.Width;
frame.cursor.h = shapeInfo.Height;
frame.cursor.pitch = shapeInfo.Pitch;
frame.cursor.dataSize = m_pointerSize;
}