Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 05eebe3

Browse files
committed
Add missing D3D11 Result codes.
1 parent 81091d6 commit 05eebe3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Source/SharpDX.Direct3D11/Mapping.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,13 @@
7373
<const from-macro="D3D11_REQ_TEXTURECUBE_DIMENSION" class="SharpDX.Direct3D11.Resource" type="int" name="MaximumTextureCubeSize" />
7474

7575
<create class="ResultCode" visibility="public static" />
76+
<context>winerror</context>
7677
<const from-macro="D3D11_ERROR_(.*)" type="SharpDX.ResultDescriptor" cpp-type="int" name="$1" class="SharpDX.Direct3D11.ResultCode" visibility="public static readonly">new SharpDX.ResultDescriptor($1, "$3", "$0", "$2")</const>
7778
<const from-macro="D3DX11_ERR_(.*)" type="SharpDX.ResultDescriptor" cpp-type="int" name="$1" class="SharpDX.Direct3D11.ResultCode" visibility="public static readonly">new SharpDX.ResultDescriptor($1, "$3", "$0", "$2")</const>
78-
79+
<context-clear />
80+
81+
<context id="d3d11-all"/>
82+
7983
<create class="CommonShaderStage" visibility="public abstract partial" />
8084
<const from-macro="D3D11_COMMONSHADER_(.*)" class="SharpDX.Direct3D11.CommonShaderStage" type="int" name="$1" />
8185
<const from-macro="D3D11_IA_(.*)" class="SharpDX.Direct3D11.InputAssemblerStage" type="int" name="$1" />

0 commit comments

Comments
 (0)