Index: src/gpu/GrDrawTarget.cpp |
=================================================================== |
--- src/gpu/GrDrawTarget.cpp (revision 7929) |
+++ src/gpu/GrDrawTarget.cpp (working copy) |
@@ -534,8 +534,8 @@ |
uint32_t explicitCoordMask = 0; |
// position + (optional) texture coord |
static const GrVertexAttrib kAttribs[] = { |
- GrVertexAttrib(kVec2f_GrVertexAttribType, 0), |
- GrVertexAttrib(kVec2f_GrVertexAttribType, sizeof(GrPoint)) |
+ {kVec2f_GrVertexAttribType, 0}, |
+ {kVec2f_GrVertexAttribType, sizeof(GrPoint)} |
}; |
int attribCount = 1; |