aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-09-29 10:08:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-29 10:08:36 -0700
commita9c3c6aea5f7ade5aa2d112a221c458cd759222a (patch)
tree228024f52379caa873434a01ac63592dd711e9f5 /src
parent7c2213ba61c61ab76117019f95705639e2f01de8 (diff)
Recent image filter work now allows this check to be enabled.
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrDrawingManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
index f4ac150830..5e9b68d88f 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -224,8 +224,7 @@ sk_sp<GrDrawContext> GrDrawingManager::makeDrawContext(sk_sp<GrRenderTarget> rt,
// by, including internal usage. We allow a null color space here, for read/write pixels and
// other special code paths. If a color space is provided, though, enforce all other rules.
if (colorSpace && !SkSurface_Gpu::Valid(fContext, rt->config(), colorSpace.get())) {
- // SRGBTODO: Enable this assert once image filters are propagating color type and space
-// SkDEBUGFAIL("Invalid config and colorspace combination");
+ SkDEBUGFAIL("Invalid config and colorspace combination");
return nullptr;
}