Index: bench/GLVec4ScalarBench.cpp |
diff --git a/bench/GLVec4ScalarBench.cpp b/bench/GLVec4ScalarBench.cpp |
index 490b55ab529b91b5f53365cce569b65726ad35fb..ed61ce0fbd4ce9106f5e5754a6ed51ac9220c0d8 100644 |
--- a/bench/GLVec4ScalarBench.cpp |
+++ b/bench/GLVec4ScalarBench.cpp |
@@ -93,7 +93,7 @@ |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) { |
- const char* version = ctx->caps()->glslCaps()->versionDeclString(); |
+ const char* version = GrGLGetGLSLVersionDecl(*ctx); |
// this shader draws fNumStages overlapping circles of increasing opacity (coverage) and |
// decreasing size, with the center of each subsequent circle closer to the bottom-right |