From 3b0d631cdfe2dcf59e7b7ea60d92566eade7bfc0 Mon Sep 17 00:00:00 2001 From: "jvanverth@google.com" Date: Fri, 1 Mar 2013 20:30:01 +0000 Subject: 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 --- src/gpu/GrAAConvexPathRenderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/GrAAConvexPathRenderer.cpp') 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; -- cgit v1.2.3