aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-02-15 14:12:26 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-15 20:50:31 +0000
commiteb62829a83a0a4f4fdd1230a3c08140e38052602 (patch)
tree292dc0ca14c63b0e10b7ced33b204c69abc1ce31 /include
parent63c67461ed07b5fca35182ac62657b2cb16afbb4 (diff)
Check that coverage FPs are compatible with alpha as coverage
Change-Id: Ic3b6a02248d571e82f6729827c199d358fb75114 Reviewed-on: https://skia-review.googlesource.com/8508 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrTypesPriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h
index 5b925bb040..e7bb1addc3 100644
--- a/include/gpu/GrTypesPriv.h
+++ b/include/gpu/GrTypesPriv.h
@@ -541,7 +541,7 @@ enum GrAccessPattern {
#ifdef SK_DEBUG
// Takes a pointer to a GrCaps, and will suppress prints if required
#define GrCapsDebugf(caps, ...) \
- if (!caps->suppressPrints()) { \
+ if (!(caps)->suppressPrints()) { \
SkDebugf(__VA_ARGS__); \
}
#else