From 5a74afebb7102560d809f4137fccfa79094a1efd Mon Sep 17 00:00:00 2001 From: joshualitt Date: Tue, 6 Oct 2015 08:05:10 -0700 Subject: [PATCH] nvpr removal from VisualBench base context TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1391633002 --- tools/VisualBench/VisualBench.cpp | 3 +++ 1 file changed, 3 insertions(+) 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