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