| Index: bench/GLVec4ScalarBench.cpp
|
| diff --git a/bench/GLVec4ScalarBench.cpp b/bench/GLVec4ScalarBench.cpp
|
| index e3837a7225700d8515014a23f74a968ef3d322d7..373ae6b7bc763e8fa56c6aca20b0712a6d252535 100644
|
| --- a/bench/GLVec4ScalarBench.cpp
|
| +++ b/bench/GLVec4ScalarBench.cpp
|
| @@ -124,8 +124,6 @@ GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) {
|
| " o_color = a_color;\n"
|
| "}\n");
|
|
|
| - const GrGLInterface* gl = ctx->interface();
|
| -
|
| // set up fragment shader; this fragment shader will have fNumStages coverage stages plus an
|
| // XP stage at the end. Each coverage stage computes the pixel's distance from some hard-
|
| // coded center and compare that to some hard-coded circle radius to compute a coverage.
|
| @@ -186,7 +184,7 @@ GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) {
|
| "}\n",
|
| fsOutName);
|
|
|
| - return CreateProgram(gl, vshaderTxt.c_str(), fshaderTxt.c_str());
|
| + return CreateProgram(ctx, vshaderTxt.c_str(), fshaderTxt.c_str());
|
| }
|
|
|
| template<typename Func>
|
|
|