summaryrefslogtreecommitdiff
path: root/tools/glslang/glslang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glslang/glslang.cpp')
-rw-r--r--tools/glslang/glslang.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/glslang/glslang.cpp b/tools/glslang/glslang.cpp
index e396528d9..f07937b97 100644
--- a/tools/glslang/glslang.cpp
+++ b/tools/glslang/glslang.cpp
@@ -66,7 +66,8 @@ static void dump(
fwrite(data, 1, size, fallbackStream);
// also output it for debug purposes
- OutputDebugStringA((char const*)data);
+ std::string str((char const*)data, size);
+ OutputDebugStringA(str.c_str());
}
}