Index: src/gpu/GrAARectRenderer.cpp |
=================================================================== |
--- src/gpu/GrAARectRenderer.cpp (revision 7930) |
+++ src/gpu/GrAARectRenderer.cpp (working copy) |
@@ -130,8 +130,8 @@ |
// position + color/coverage |
static const GrVertexAttrib kVertexAttribs[] = { |
- GrVertexAttrib(kVec2f_GrVertexAttribType, 0), |
- GrVertexAttrib(kVec4ub_GrVertexAttribType, sizeof(GrPoint)) |
+ {kVec2f_GrVertexAttribType, 0}, |
+ {kVec4ub_GrVertexAttribType, sizeof(GrPoint)} |
}; |
GrAttribBindings bindings; |
GrDrawState::AttribIndex attribIndex; |
@@ -214,8 +214,8 @@ |
// position + color/coverage |
static const GrVertexAttrib kVertexAttribs[] = { |
- GrVertexAttrib(kVec2f_GrVertexAttribType, 0), |
- GrVertexAttrib(kVec4ub_GrVertexAttribType, sizeof(GrPoint)) |
+ {kVec2f_GrVertexAttribType, 0}, |
+ {kVec4ub_GrVertexAttribType, sizeof(GrPoint)} |
}; |
GrAttribBindings bindings; |
GrDrawState::AttribIndex attribIndex; |