aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAAConvexPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 20:30:01 +0000
committerGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 20:30:01 +0000
commit3b0d631cdfe2dcf59e7b7ea60d92566eade7bfc0 (patch)
tree8c416b03a5c1c1776c2cbbf0b5fed1be76022e94 /src/gpu/GrAAConvexPathRenderer.cpp
parentcef21e415b4b1fd7ed25a447a05d82a1b756c703 (diff)
Remove constructors from GrVertexAttrib.
It fits our style better to use initializer lists, so the constructors have been removed and replaced with said lists. Review URL: https://codereview.chromium.org/12379052 git-svn-id: http://skia.googlecode.com/svn/trunk@7936 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrAAConvexPathRenderer.cpp')
-rw-r--r--src/gpu/GrAAConvexPathRenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp
index 46e75a07a6..ebf2ea98c4 100644
--- a/src/gpu/GrAAConvexPathRenderer.cpp
+++ b/src/gpu/GrAAConvexPathRenderer.cpp
@@ -480,8 +480,8 @@ bool GrAAConvexPathRenderer::onDrawPath(const SkPath& origPath,
// position + edge
static const GrVertexAttrib kAttribs[] = {
- GrVertexAttrib(kVec2f_GrVertexAttribType, 0),
- GrVertexAttrib(kVec4f_GrVertexAttribType, sizeof(GrPoint))
+ {kVec2f_GrVertexAttribType, 0},
+ {kVec4f_GrVertexAttribType, sizeof(GrPoint)}
};
static const GrAttribBindings bindings = GrDrawState::kEdge_AttribBindingsBit;