aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/GLVec4ScalarBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/GLVec4ScalarBench.cpp')
-rw-r--r--bench/GLVec4ScalarBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/GLVec4ScalarBench.cpp b/bench/GLVec4ScalarBench.cpp
index ed61ce0fbd..490b55ab52 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