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