aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDefaultPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-28 23:08:28 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-28 23:08:28 +0000
commitaf3a3b9fb1f3be46082013a2d1977d12faf1f61c (patch)
tree7fafb55c8e8b5043478d11e0f0e48fd2ef5c7007 /src/gpu/GrDefaultPathRenderer.cpp
parent2b1b8c083b969a2a798b03d1754a3fc99ea054df (diff)
Revert r7901 & r7899 to allow DEPS roll
git-svn-id: http://skia.googlecode.com/svn/trunk@7909 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDefaultPathRenderer.cpp')
-rw-r--r--src/gpu/GrDefaultPathRenderer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp
index 7ca478e493..d5ebaaa602 100644
--- a/src/gpu/GrDefaultPathRenderer.cpp
+++ b/src/gpu/GrDefaultPathRenderer.cpp
@@ -211,6 +211,7 @@ bool GrDefaultPathRenderer::createGeom(const SkPath& path,
return false;
}
+ GrVertexLayout layout = 0;
bool indexed = contourCnt > 1;
const bool isHairline = stroke.isHairlineStyle();
@@ -232,7 +233,7 @@ bool GrDefaultPathRenderer::createGeom(const SkPath& path,
}
}
- target->drawState()->setDefaultVertexAttribs();
+ target->drawState()->setVertexLayout(layout);
if (!arg->set(target, maxPts, maxIdxs)) {
return false;
}