aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrContextFactory.cpp
diff options
context:
space:
mode:
authorGravatar svaisanen <svaisanen@nvidia.com>2016-04-20 00:36:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-20 00:36:53 -0700
commitb988ecf639f1394ea5e821ac15b989e25e064534 (patch)
tree166065e815d249422d6dc70e15844088b85742d1 /tools/gpu/GrContextFactory.cpp
parent6d3119c9fc09ff1cf94965089d0873941097c1bc (diff)
Enable NV_path_rendering in the Null GL.
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rwxr-xr-xtools/gpu/GrContextFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp
index 651f3fcde2..eb0f414706 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());