]> git.cworth.org Git - apitrace/blobdiff - specs/d3d9types.py
Trace LockBox blobs.
[apitrace] / specs / d3d9types.py
index b588055ea0985f92e8c6b627704366f3e2358b03..6622e73df9397fd09ff2b81d076e85c88d34bd1e 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", [
@@ -946,7 +941,7 @@ D3DBOX = Struct("D3DBOX", [
 D3DLOCKED_BOX = Struct("D3DLOCKED_BOX", [
     (INT, "RowPitch"),
     (INT, "SlicePitch"),
-    (OpaquePointer(Void), "pBits"),
+    (LinearPointer(Void, "_LockedSize"), "pBits"),
 ])
 
 D3DRANGE = Struct("D3DRANGE", [