Index: gm/beziereffects.cpp |
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp |
index e0a1d8726e9001cf09b667840ff882185fbd4291..2045e38ec4c57c56a562bc869eddf30dafaf270c 100644 |
--- a/gm/beziereffects.cpp |
+++ b/gm/beziereffects.cpp |
@@ -168,7 +168,7 @@ |
context->getTestTarget(&tt); |
SkASSERT(NULL != tt.target()); |
GrDrawState* drawState = tt.target()->drawState(); |
- drawState->setVertexAttribs<kAttribs>(2, sizeof(Vertex)); |
+ drawState->setVertexAttribs<kAttribs>(2); |
drawState->addCoverageEffect(effect, 1); |
drawState->setRenderTarget(rt); |
@@ -323,7 +323,7 @@ |
context->getTestTarget(&tt); |
SkASSERT(NULL != tt.target()); |
GrDrawState* drawState = tt.target()->drawState(); |
- drawState->setVertexAttribs<kAttribs>(2, sizeof(Vertex)); |
+ drawState->setVertexAttribs<kAttribs>(2); |
drawState->addCoverageEffect(effect, 1); |
drawState->setRenderTarget(rt); |
@@ -507,7 +507,7 @@ |
context->getTestTarget(&tt); |
SkASSERT(NULL != tt.target()); |
GrDrawState* drawState = tt.target()->drawState(); |
- drawState->setVertexAttribs<kAttribs>(2, sizeof(Vertex)); |
+ drawState->setVertexAttribs<kAttribs>(2); |
drawState->addCoverageEffect(effect, 1); |
drawState->setRenderTarget(rt); |