Index: tools/VisualBench/VisualBench.cpp |
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp |
index b8f39f96fa5f0687a06568d36c9d660ddf7fdae9..8164762a4a9e72e1758f9a75b55fcab7761e43f4 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 |