]> git.cworth.org Git - apitrace/blobdiff - specs/d3d11.py
d3d11: Fix map swizlling.
[apitrace] / specs / d3d11.py
index 578d2144f855057eccc58247e2aa0156ae7cb31f..1e2f815c58d23b2abdf0ca8a7f2f3c637a0245d0 100644 (file)
@@ -462,7 +462,7 @@ D3D11_SUBRESOURCE_DATA = Struct("D3D11_SUBRESOURCE_DATA", [
 ])
 
 D3D11_MAPPED_SUBRESOURCE = Struct("D3D11_MAPPED_SUBRESOURCE", [
-    (OpaquePointer(Void), "pData"),
+    (LinearPointer(Void, "_MappedSize"), "pData"),
     (UINT, "RowPitch"),
     (UINT, "DepthPitch"),
 ])