diff options
author | joshualitt <joshualitt@chromium.org> | 2015-07-16 13:40:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 13:40:51 -0700 |
commit | 31b21f67190916b94c5345126ddab327a8feac57 (patch) | |
tree | cccacbc112b516121287f71b37e839ee60b1bc90 /tools | |
parent | 189186337eb91b0b21c15db42377bbf3ae4acf23 (diff) |
Small fix for visualbench
BUG=skia:
Review URL: https://codereview.chromium.org/1237563005
Diffstat (limited to 'tools')
-rw-r--r-- | tools/VisualBench/VisualBench.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp index 136162aece..e97db8a308 100644 --- a/tools/VisualBench/VisualBench.cpp +++ b/tools/VisualBench/VisualBench.cpp @@ -105,6 +105,8 @@ bool VisualBench::setupBackend() { } void VisualBench::resetContext() { + fSurface.reset(NULL); + fInterface.reset(GrGLCreateNativeInterface()); SkASSERT(fInterface); |