We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a8f8f commit f435158Copy full SHA for f435158
1 file changed
gfx/common/dx_guids.c
@@ -48,11 +48,16 @@
48
#ifdef HAVE_D3D8
49
#include <d3d8.h>
50
#endif
51
-#if defined(HAVE_D3D9) || defined(HAVE_D3D10) \
52
- || defined(HAVE_D3D11) || defined(HAVE_D3D12)
+
+#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12) \
53
+ || (defined(HAVE_D3D9) && defined(HAVE_HLSL))
54
#include <d3dcompiler.h>
55
+#endif
56
57
+#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12)
58
#include <dxgi.h>
59
60
61
#ifdef HAVE_DINPUT
62
#include <dinput.h>
63
0 commit comments