diff options
Diffstat (limited to 'bench/GLVertexAttributesBench.cpp')
-rw-r--r-- | bench/GLVertexAttributesBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/GLVertexAttributesBench.cpp b/bench/GLVertexAttributesBench.cpp index f8325e4e77..1051c31a9d 100644 --- a/bench/GLVertexAttributesBench.cpp +++ b/bench/GLVertexAttributesBench.cpp @@ -65,7 +65,7 @@ private: GrGLuint GLVertexAttributesBench::setupShader(const GrGLContext* ctx, uint32_t attribs, uint32_t maxAttribs) { - const char* version = GrGLGetGLSLVersionDecl(*ctx); + const char* version = ctx->caps()->glslCaps()->versionDeclString(); // setup vertex shader GrGLSLShaderVar aPosition("a_position", kVec4f_GrSLType, GrShaderVar::kAttribute_TypeModifier); |