Skip to content

Commit a7f9966

Browse files
authored
Merge pull request #85532 from 0xpablo/patch-1
Platform: add `DirectX.Direct2D` module to WinSDK
2 parents 21aa6b2 + c4588cb commit a7f9966

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stdlib/public/Platform/winsdk_um.modulemap

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,17 @@ module WinSDK [system] {
195195
link "dxgi.lib"
196196
}
197197

198+
module Direct2D {
199+
header "d2d1.h"
200+
header "d2d1_1.h"
201+
header "d2d1_2.h"
202+
header "d2d1_3.h"
203+
export *
204+
205+
link "d2d1.lib"
206+
link "dxgi.lib"
207+
}
208+
198209
// FIXME(compnerd) DXGI is part of the Direct3D interfaces currently; we
199210
// should split it out, but because it is part of the D3D11 interfaces, this
200211
// separate module is meant to augment the uncovered portions only.

0 commit comments

Comments
 (0)