summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-25 15:36:18 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-25 15:36:18 +0000
commit793c979411c071bf092ab3015f3d3cdc2335c07d (patch)
treead064dae593c320fcf756258f447944a416e4e4f /Graphics/GLSLTools
parentSome minor changes (diff)
downloadDiligentCore-793c979411c071bf092ab3015f3d3cdc2335c07d.tar.gz
DiligentCore-793c979411c071bf092ab3015f3d3cdc2335c07d.zip
Fixed issue with GLSL string source len
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/src/GLSLSourceBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp b/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
index f9140a53..e37206b1 100644
--- a/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
+++ b/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
@@ -241,7 +241,7 @@ String BuildGLSLSourceString(const ShaderCreationAttribs &CreationAttribs, Targe
GLSLSource.append(ConvertedSource);
}
else
- GLSLSource.append(ShaderSource);
+ GLSLSource.append(ShaderSource, SourceLen);
return GLSLSource;
}