summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-03-19 04:53:09 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 04:53:09 +0000
commit6817b7a533e3283a1a957f04ba2a99d26675574e (patch)
treede320754aceb03d9bf493f2c0a50682fab191fd8 /Graphics/GraphicsEngineD3DBase
parentFixed Win SDK 17763 build issues (diff)
downloadDiligentCore-6817b7a533e3283a1a957f04ba2a99d26675574e.tar.gz
DiligentCore-6817b7a533e3283a1a957f04ba2a99d26675574e.zip
Fixed Windows 8.1 build issue and a couple of clang warnings
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp
index 322ccd50..a0909f79 100644
--- a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp
+++ b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp
@@ -45,6 +45,10 @@
#include "HLSLUtils.hpp"
#include "BasicMath.hpp"
+#ifndef D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES
+# define D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES (1 << 20)
+#endif
+
namespace Diligent
{