Index: bench/GLVertexAttributesBench.cpp |
diff --git a/bench/GLVertexAttributesBench.cpp b/bench/GLVertexAttributesBench.cpp |
index 1051c31a9d8edeb409cb94101bfd06c9a38cc7ba..f8325e4e77e9a1cd38f85920032873af038b7008 100644 |
--- a/bench/GLVertexAttributesBench.cpp |
+++ b/bench/GLVertexAttributesBench.cpp |
@@ -65,7 +65,7 @@ |
GrGLuint GLVertexAttributesBench::setupShader(const GrGLContext* ctx, uint32_t attribs, |
uint32_t maxAttribs) { |
- const char* version = ctx->caps()->glslCaps()->versionDeclString(); |
+ const char* version = GrGLGetGLSLVersionDecl(*ctx); |
// setup vertex shader |
GrGLSLShaderVar aPosition("a_position", kVec4f_GrSLType, GrShaderVar::kAttribute_TypeModifier); |