| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 1a7734d0f808f8e6f7932af46ed37122566a77e1..288841c1120abbcb8e61db4d49b447a369d547c3 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -217,14 +217,14 @@ static bool apply_aa_to_rect(GrDrawTarget* target,
|
| return false;
|
| }
|
|
|
| -#if defined(SHADER_AA_FILL_RECT) || !defined(IGNORE_ROT_AA_RECT_OPT)
|
| +#ifdef SHADER_AA_FILL_RECT
|
| if (strokeWidth >= 0) {
|
| #endif
|
| if (!combinedMatrix.preservesAxisAlignment()) {
|
| return false;
|
| }
|
|
|
| -#if defined(SHADER_AA_FILL_RECT) || !defined(IGNORE_ROT_AA_RECT_OPT)
|
| +#ifdef SHADER_AA_FILL_RECT
|
| } else {
|
| if (!combinedMatrix.preservesRightAngles()) {
|
| return false;
|
|
|