From eb62829a83a0a4f4fdd1230a3c08140e38052602 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Wed, 15 Feb 2017 14:12:26 -0500 Subject: 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 Reviewed-by: Greg Daniel --- include/gpu/GrTypesPriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3