Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index c57edc9fc0c54f95c342aebcdd0484886da650d1..f32168e945883333e6e838ed5d4fea9368ac0372 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -1935,7 +1935,8 @@ DRAW_BATCH_TEST_DEFINE(CircleBatch) { |
const CircleBatch::ArcParams* arcParams = nullptr; |
if (random->nextBool()) { |
arcParamsTmp.fStartAngleRadians = random->nextSScalar1() * SK_ScalarPI * 2; |
- arcParamsTmp.fStartAngleRadians = random->nextSScalar1() * SK_ScalarPI * 2 - .01f; |
+ arcParamsTmp.fSweepAngleRadians = random->nextSScalar1() * SK_ScalarPI * 2 - .01f; |
+ arcParamsTmp.fUseCenter = random->nextBool(); |
arcParams = &arcParamsTmp; |
} |
GrDrawBatch* batch = CircleBatch::Create(color, viewMatrix, center, radius, |