Index: tools/VisualBench/VisualBench.cpp |
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp |
index 5a86c94aecab4f01137dcc1fdaa1ccb66c98b068..5ff556d5bbf30399cde9685c8d3efe3ef4f93784 100644 |
--- a/tools/VisualBench/VisualBench.cpp |
+++ b/tools/VisualBench/VisualBench.cpp |
@@ -103,7 +103,7 @@ void VisualBench::setupContext() { |
fInterface.reset(GrGLCreateNativeInterface()); |
// TODO use the GLContext creation factories and also set this all up in configs |
- if (!FLAGS_nvpr) { |
+ if (0 == FLAGS_nvpr) { |
fInterface.reset(GrGLInterfaceRemoveNVPR(fInterface)); |
} |
SkASSERT(fInterface); |