From 2e6f369080b6911d17b4e8a5296ca8400b09de86 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Tue, 1 Sep 2020 22:59:44 +0300 Subject: fixed compilation on Mac & UWP --- Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp index 1370a726..451cc610 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp @@ -162,7 +162,8 @@ static HRESULT CompileDxilShader(const char* Source, //L"-Qembed_debug", // Embed debug info into the shader (some compilers do not recognize this flag) L"-Od", // Disable optimization #else - L"-O3", // Optimization level 3 + L"-Od", // TODO: something goes wrong if used any optimizations + //L"-O3", // Optimization level 3 #endif }; -- cgit v1.2.3