From 6817b7a533e3283a1a957f04ba2a99d26675574e Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 18 Mar 2021 21:53:09 -0700 Subject: Fixed Windows 8.1 build issue and a couple of clang warnings --- Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Graphics/GraphicsEngineD3DBase') 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 { -- cgit v1.2.3