]> git.cworth.org Git - apitrace/commitdiff
d3d11: Fix map swizlling.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 14 Nov 2012 08:45:58 +0000 (08:45 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 14 Nov 2012 08:45:58 +0000 (08:45 +0000)
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"),
 ])