From 5b2bda70e52f18e5707dd465a9be8cd59b34eb80 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 5 Nov 2018 19:50:57 -0500 Subject: [PATCH] Fix FP / header inconsistency Bug: skia: Change-Id: I99673d19ae7ce6dd7f781ffd58318e8abd524db9 Reviewed-on: https://skia-review.googlesource.com/c/168364 Commit-Queue: Brian Osman Commit-Queue: Allan MacKinnon Auto-Submit: Brian Osman Reviewed-by: Allan MacKinnon --- src/gpu/effects/GrRRectBlurEffect.fp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gpu/effects/GrRRectBlurEffect.fp b/src/gpu/effects/GrRRectBlurEffect.fp index dd04a2d6c5030..a577d91741399 100644 --- a/src/gpu/effects/GrRRectBlurEffect.fp +++ b/src/gpu/effects/GrRRectBlurEffect.fp @@ -62,7 +62,8 @@ uniform half blurRadius; GrPaint paint; - rtc->clear(nullptr, 0x0, GrRenderTargetContext::CanClearFullscreen::kYes); + rtc->clear(nullptr, SK_PMColor4fTRANSPARENT, + GrRenderTargetContext::CanClearFullscreen::kYes); rtc->drawRRect(GrNoClip(), std::move(paint), GrAA::kYes, SkMatrix::I(), rrectToDraw, GrStyle::SimpleFill());