aboutsummaryrefslogtreecommitdiff
path: root/gm
diff options
context:
space:
mode:
Diffstat (limited to 'gm')
-rw-r--r--gm/clockwise.cpp3
-rw-r--r--gm/fwidth_squircle.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/gm/clockwise.cpp b/gm/clockwise.cpp
index 608c12e473..7086f98e12 100644
--- a/gm/clockwise.cpp
+++ b/gm/clockwise.cpp
@@ -121,8 +121,7 @@ private:
if (!vertexBuffer) {
return;
}
- GrPipeline pipeline(flushState->drawOpArgs().fProxy, GrScissorTest::kDisabled,
- SkBlendMode::kPlus);
+ GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus);
GrMesh mesh(GrPrimitiveType::kTriangleStrip);
mesh.setNonIndexedNonInstanced(4);
mesh.setVertexData(std::move(vertexBuffer));
diff --git a/gm/fwidth_squircle.cpp b/gm/fwidth_squircle.cpp
index e9aa9f84cc..eb8ffa0023 100644
--- a/gm/fwidth_squircle.cpp
+++ b/gm/fwidth_squircle.cpp
@@ -146,8 +146,7 @@ private:
if (!vertexBuffer) {
return;
}
- GrPipeline pipeline(flushState->drawOpArgs().fProxy, GrScissorTest::kDisabled,
- SkBlendMode::kSrcOver);
+ GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrcOver);
GrMesh mesh(GrPrimitiveType::kTriangleStrip);
mesh.setNonIndexedNonInstanced(4);
mesh.setVertexData(std::move(vertexBuffer));