diff options
author | brianosman <brianosman@google.com> | 2016-05-23 10:11:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-23 10:11:07 -0700 |
commit | a56800a05dbca124907f5dda7c819c367d6327a9 (patch) | |
tree | befa051a036f45ef5be21acaadc0838d071cf333 /tools/gpu | |
parent | 8cc209111876b7c78b5ec577c9221d8ed5e21024 (diff) |
Add vksrgb config to dm (Vulkan sRGB). Fix help formatting of vk.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2005863002
Review-Url: https://codereview.chromium.org/2005863002
Diffstat (limited to 'tools/gpu')
-rw-r--r-- | tools/gpu/GrContextFactory.cpp | 3 |
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()); |