aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-10-06 08:05:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-06 08:05:10 -0700
commit5a74afebb7102560d809f4137fccfa79094a1efd (patch)
treee334539de79248e19c58c59a0c686d1991d69676
parent4aa02d8e73229aeb13f5de6c6de6f5aef061b0d5 (diff)
nvpr removal from VisualBench base context
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1391633002
-rw-r--r--tools/VisualBench/VisualBench.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
index b8f39f96fa..8164762a4a 100644
--- a/tools/VisualBench/VisualBench.cpp
+++ b/tools/VisualBench/VisualBench.cpp
@@ -82,6 +82,9 @@ void VisualBench::resetContext() {
fSurface.reset(nullptr);
fInterface.reset(GrGLCreateNativeInterface());
+
+ // TODO use the GLContext creation factories
+ fInterface.reset(GrGLInterfaceRemoveNVPR(fInterface));
SkASSERT(fInterface);
// setup contexts