summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-09-15 19:23:22 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-09-15 19:23:22 +0000
commitc1a0528263fd2c618b792f9b159393bd2b5ec062 (patch)
tree6d29c4752a4c3e7858a2ecc950dc02c4612e6129 /Graphics
parentFixed tests project for DILIGENT_NO_GLSLANG=TRUE and DILIGENT_NO_HLSL=TRUE cases (diff)
downloadDiligentCore-c1a0528263fd2c618b792f9b159393bd2b5ec062.tar.gz
DiligentCore-c1a0528263fd2c618b792f9b159393bd2b5ec062.zip
Fixed mesh shader tests
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/ShaderTools/include/HLSLUtils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/ShaderTools/include/HLSLUtils.hpp b/Graphics/ShaderTools/include/HLSLUtils.hpp
index 54696e83..ce32aa3e 100644
--- a/Graphics/ShaderTools/include/HLSLUtils.hpp
+++ b/Graphics/ShaderTools/include/HLSLUtils.hpp
@@ -81,7 +81,7 @@ void HandleHLSLCompilerResult(bool CompilationSucceeded,
if (CompilerMsg != nullptr && CompilerMsgLen != 0)
{
ss << ":" << std::endl
- << CompilerMsg;
+ << std::string{CompilerMsg, CompilerMsgLen};
}
else if (!CompilationSucceeded)
{