Index: tools/gpu/GrContextFactory.cpp |
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp |
index 651f3fcde27a81d19ca46bdbf442bcf4c1eb6b2b..eb0f41470674d81f45d970628f2bbd2e93a90479 100755 |
--- a/tools/gpu/GrContextFactory.cpp |
+++ b/tools/gpu/GrContextFactory.cpp |
@@ -141,7 +141,7 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op |
break; |
#endif |
case kNullGL_ContextType: |
- glCtx.reset(CreateNullGLTestContext()); |
+ glCtx.reset(CreateNullGLTestContext(kEnableNVPR_ContextOptions & options)); |
break; |
case kDebugGL_ContextType: |
glCtx.reset(CreateDebugGLTestContext()); |