]> git.cworth.org Git - apitrace/blobdiff - specs/d3d9types.py
Handle variations of LockRect.
[apitrace] / specs / d3d9types.py
index b588055ea0985f92e8c6b627704366f3e2358b03..b624263e5e850a41dd44bf49d5216591a0441ba3 100644 (file)
@@ -926,12 +926,7 @@ D3DVOLUME_DESC = Struct("D3DVOLUME_DESC", [
 
 D3DLOCKED_RECT = Struct("D3DLOCKED_RECT", [
     (INT, "Pitch"),
-    (OpaquePointer(Void), "pBits"),
-])
-
-D3DLOCKED_RECT_ = Struct("D3DLOCKED_RECT", [
-    (INT, "Pitch"),
-    (LinearPointer(Void, "m_SizeToLock"), "pBits"),
+    (LinearPointer(Void, "_LockedSize"), "pBits"),
 ])
 
 D3DBOX = Struct("D3DBOX", [