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