From c1a0528263fd2c618b792f9b159393bd2b5ec062 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 15 Sep 2020 12:23:22 -0700 Subject: Fixed mesh shader tests --- Graphics/ShaderTools/include/HLSLUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/ShaderTools') 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) { -- cgit v1.2.3