From 419d81eed4a010e6080db199795117cbedf9e6e4 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 8 Dec 2016 16:57:38 +0000 Subject: Revert "Remove antialiasing control from GrPaint." This reverts commit 9f549358b3ac9f61e78b194e39d6ac6eb322e35e. Reason for revert: hitting asserts Change-Id: I542d34edc05ecf72b7646263f25736a0950c78e7 Reviewed-on: https://skia-review.googlesource.com/5707 Commit-Queue: Brian Salomon Reviewed-by: Brian Salomon --- src/gpu/GrPaint.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpu/GrPaint.cpp') diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index 0954505b80..d5f8d3d0c1 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -13,7 +13,8 @@ #include "effects/GrSimpleTextureEffect.h" GrPaint::GrPaint() - : fDisableOutputConversionToSRGB(false) + : fAntiAlias(false) + , fDisableOutputConversionToSRGB(false) , fAllowSRGBInputs(false) , fUsesDistanceVectorField(false) , fColor(GrColor4f::OpaqueWhite()) {} -- cgit v1.2.3