From: José Fonseca Date: Wed, 14 Nov 2012 08:45:58 +0000 (+0000) Subject: d3d11: Fix map swizlling. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=e6bde441dbb59572b0c7b27cf2d799c51317668b d3d11: Fix map swizlling. --- diff --git a/specs/d3d11.py b/specs/d3d11.py index 578d214..1e2f815 100644 --- a/specs/d3d11.py +++ b/specs/d3d11.py @@ -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"), ])