diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-25 15:36:18 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-25 15:36:18 +0000 |
| commit | 793c979411c071bf092ab3015f3d3cdc2335c07d (patch) | |
| tree | ad064dae593c320fcf756258f447944a416e4e4f /Graphics | |
| parent | Some minor changes (diff) | |
| download | DiligentCore-793c979411c071bf092ab3015f3d3cdc2335c07d.tar.gz DiligentCore-793c979411c071bf092ab3015f3d3cdc2335c07d.zip | |
Fixed issue with GLSL string source len
Diffstat (limited to 'Graphics')
| -rw-r--r-- | Graphics/GLSLTools/src/GLSLSourceBuilder.cpp | 2 |
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; } |
