Skip to content

Commit

Permalink
xr_dependencies: Include unknwn.h on Windows even without d3d.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik committed Apr 2, 2021
1 parent f667247 commit 9fdc3a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changes/sdk/pr.250.gh.OpenXR-SDK-Source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- issue.237.gh.OpenXR-SDK-Source
---
xr_dependencies (shared utility): Include `unknwn.h` on Windows, even without D3D enabled.
1 change: 1 addition & 0 deletions src/common/xr_dependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#endif // !WIN32_LEAN_AND_MEAN

#include <windows.h>
#include <unknwn.h>

#endif // XR_USE_PLATFORM_WIN32

Expand Down

0 comments on commit 9fdc3a0

Please sign in to comment.