Skip to content

Commit e508b1a

Browse files
committed
Platform: extend the D3D v10 module
Add the extensions for the Direct3D v10 API to enable access to the newer DXGISwapChain interfaces. Additionally, correct the linking to ensure that we pick up the v10 version of the import library.
1 parent 13ffb8b commit e508b1a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,13 @@ module WinSDK [system] {
161161
explicit module DirectX {
162162
module Direct3D11 {
163163
header "d3d11.h"
164+
header "d3d11_1.h"
165+
header "d3d11_2.h"
166+
header "d3d11_3.h"
167+
header "d3d11_4.h"
164168
export *
165169

166-
link "d3d12.lib"
170+
link "d3d11.lib"
167171
link "dxgi.lib"
168172
}
169173

0 commit comments

Comments
 (0)