Skip to content

Commit 86a8b1b

Browse files
committed
Platform: add Direct3D11 module
This adds the Direct3D v11 module for Windows. This is required to gain access to the DXGI interfaces, which homes the DXGISwapChain interface.
1 parent b16dfcd commit 86a8b1b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ module WinSDK [system] {
159159
}
160160

161161
explicit module DirectX {
162+
module Direct3D11 {
163+
header "d3d11.h"
164+
export *
165+
166+
link "d3d12.lib"
167+
link "dxgi.lib"
168+
}
169+
162170
module Direct3D12 {
163171
header "d3d12.h"
164172
export *

0 commit comments

Comments
 (0)