Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 888f818993b5bab5ad6cc712c826cc4295ee3858..877c21fc7e29e7ff28ad3ef2c8493feec44b5a9b 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -1729,9 +1729,9 @@ GrGLenum gPrimitiveType2GLMode[] = { |
#endif |
#endif |
-void GrGpuGL::onDraw(const GrDrawTarget::DrawInfo& info) { |
+void GrGpuGL::onDraw(const GrOptDrawState& ds, const GrDrawTarget::DrawInfo& info) { |
size_t indexOffsetInBytes; |
- this->setupGeometry(info, &indexOffsetInBytes); |
+ this->setupGeometry(ds, info, &indexOffsetInBytes); |
SkASSERT((size_t)info.primitiveType() < SK_ARRAY_COUNT(gPrimitiveType2GLMode)); |