Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index c89ece806e1f9a2661e2f31a5d5dfc2a6289137e..a1c80f5b8b8bc1fb83a87e726a4a0bda0478d779 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -669,7 +669,7 @@ bool GrOvalRenderer::drawOval(GrDrawTarget* target, |
if (SkScalarNearlyEqual(oval.width(), oval.height()) && circle_stays_circle(viewMatrix)) { |
this->drawCircle(target, pipelineBuilder, color, viewMatrix, useCoverageAA, oval, stroke); |
// if we have shader derivative support, render as device-independent |
- } else if (target->caps()->shaderDerivativeSupport()) { |
+ } else if (target->caps()->shaderCaps()->shaderDerivativeSupport()) { |
return this->drawDIEllipse(target, pipelineBuilder, color, viewMatrix, useCoverageAA, oval, |
stroke); |
// otherwise axis-aligned ellipses only |