Index: bench/GLInstancedArraysBench.cpp |
diff --git a/bench/GLInstancedArraysBench.cpp b/bench/GLInstancedArraysBench.cpp |
index bf9aaac0bc836cfd138eb081cf4001006e97e2f1..ea780f4c4cde9cddf16e31c651b2371d913bbe4a 100644 |
--- a/bench/GLInstancedArraysBench.cpp |
+++ b/bench/GLInstancedArraysBench.cpp |
@@ -107,7 +107,7 @@ private: |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
GrGLuint GLCpuPosInstancedArraysBench::setupShader(const GrGLContext* ctx) { |
- const char* version = GrGLGetGLSLVersionDecl(*ctx); |
+ const char* version = ctx->caps()->glslCaps()->versionDeclString(); |
// setup vertex shader |
GrGLSLShaderVar aPosition("a_position", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); |