Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
index 9e666ad3da21389483155b20deb3e31c886dfe87..ad614659416dd3fd197f608615b80d6fd75a31b9 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
@@ -120,9 +120,10 @@ bool GrGLVertexShaderBuilder::compileAndAttachShaders(GrGLuint programId, |
fProgramBuilder->appendDecls(fOutputs, &vertShaderSrc); |
vertShaderSrc.append("void main() {"); |
vertShaderSrc.append(fCode); |
- vertShaderSrc.append("}"); |
+ vertShaderSrc.append("}\n"); |
GrGLuint vertShaderId = GrGLCompileAndAttachShader(glCtx, programId, |
- GR_GL_VERTEX_SHADER, vertShaderSrc); |
+ GR_GL_VERTEX_SHADER, vertShaderSrc, |
+ gpu->gpuStats()); |
if (!vertShaderId) { |
return false; |
} |