Index: bench/GLVec4ScalarBench.cpp |
diff --git a/bench/GLVec4ScalarBench.cpp b/bench/GLVec4ScalarBench.cpp |
index ed61ce0fbd4ce9106f5e5754a6ed51ac9220c0d8..490b55ab529b91b5f53365cce569b65726ad35fb 100644 |
--- a/bench/GLVec4ScalarBench.cpp |
+++ b/bench/GLVec4ScalarBench.cpp |
@@ -93,7 +93,7 @@ private: |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) { |
- const char* version = GrGLGetGLSLVersionDecl(*ctx); |
+ const char* version = ctx->caps()->glslCaps()->versionDeclString(); |
// 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 |