aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrContextFactory.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-05-23 10:11:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-23 10:11:07 -0700
commita56800a05dbca124907f5dda7c819c367d6327a9 (patch)
treebefa051a036f45ef5be21acaadc0838d071cf333 /tools/gpu/GrContextFactory.cpp
parent8cc209111876b7c78b5ec577c9221d8ed5e21024 (diff)
Add vksrgb config to dm (Vulkan sRGB). Fix help formatting of vk.
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rw-r--r--tools/gpu/GrContextFactory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp
index 1b2a08ceab..151bfd95b3 100644
--- a/tools/gpu/GrContextFactory.cpp
+++ b/tools/gpu/GrContextFactory.cpp
@@ -163,8 +163,7 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op
#ifdef SK_VULKAN
case kVulkan_GrBackend:
SkASSERT(kVulkan_ContextType == type);
- if ((kEnableNVPR_ContextOptions & options) ||
- (kRequireSRGBSupport_ContextOptions & options)) {
+ if (kEnableNVPR_ContextOptions & options) {
return ContextInfo();
}
testCtx.reset(CreatePlatformVkTestContext());