diff options
Diffstat (limited to 'src/gpu/gl/GrGLProgram.cpp')
-rw-r--r-- | src/gpu/gl/GrGLProgram.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index 8b8a9549de..fe7c6d50ac 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -518,7 +518,7 @@ bool GrGLProgram::genProgram(const GrGLContextInfo& gl, // the dual source output has no canonical var name, have to // declare an output, which is incompatible with gl_FragColor/gl_FragData. bool dualSourceOutputWritten = false; - segments.fHeader.printf(GrGetGLSLVersionDecl(gl.binding(), + segments.fHeader.append(GrGetGLSLVersionDecl(gl.binding(), gl.glslGeneration())); GrGLShaderVar colorOutput; |