summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics')
-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;
}