Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 9834b6e617235a78fdcb0df188cd983232635cdf..1ad398f829e3b0395435b327ebcec7c5efd9796d 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -2809,7 +2809,7 @@ bool GrGLGpu::onCopySurface(GrSurface* dst, |
void GrGLGpu::createCopyProgram() { |
- const char* version = GrGLGetGLSLVersionDecl(this->ctxInfo()); |
+ const char* version = this->glCaps().glslCaps()->versionDeclString(); |
GrGLSLShaderVar aVertex("a_vertex", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); |
GrGLSLShaderVar uTexCoordXform("u_texCoordXform", kVec4f_GrSLType, |