diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-09-15 19:23:22 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-09-15 19:23:22 +0000 |
| commit | c1a0528263fd2c618b792f9b159393bd2b5ec062 (patch) | |
| tree | 6d29c4752a4c3e7858a2ecc950dc02c4612e6129 /Graphics/ShaderTools | |
| parent | Fixed tests project for DILIGENT_NO_GLSLANG=TRUE and DILIGENT_NO_HLSL=TRUE cases (diff) | |
| download | DiligentCore-c1a0528263fd2c618b792f9b159393bd2b5ec062.tar.gz DiligentCore-c1a0528263fd2c618b792f9b159393bd2b5ec062.zip | |
Fixed mesh shader tests
Diffstat (limited to 'Graphics/ShaderTools')
| -rw-r--r-- | Graphics/ShaderTools/include/HLSLUtils.hpp | 2 |
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) { |
