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