Chromium Code Reviews| Index: bench/GLBench.cpp |
| diff --git a/bench/GLBench.cpp b/bench/GLBench.cpp |
| index f184d770b3dc990cbc76b5d02c660118023e356f..524bfe1109ad00b54430416e0192cafdffbe2ba4 100644 |
| --- a/bench/GLBench.cpp |
| +++ b/bench/GLBench.cpp |
| @@ -56,6 +56,7 @@ void GLBench::onDraw(int loops, SkCanvas* canvas) { |
| return; |
| } |
| this->glDraw(loops, ctx); |
| + canvas->getGrContext()->resetContext(); |
| } |
| GrGLuint GLBench::CompileShader(const GrGLInterface* gl, const char* shaderSrc, GrGLenum type) { |