Chromium Code Reviews| Index: gm/beziereffects.cpp |
| diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp |
| index c33674caad726da9a3cd30f044e8a418fc164a5d..b35c4f96f4606ec7d370a48410413c035f2e7f61 100644 |
| --- a/gm/beziereffects.cpp |
| +++ b/gm/beziereffects.cpp |
| @@ -23,7 +23,7 @@ |
| // Position & KLM line eq values. These are the vertex attributes for Bezier curves. The last value |
| // of the Vec4f is ignored. |
| -extern const GrVertexAttrib kAttribs[] = { |
| +static const GrVertexAttrib kAttribs[] = { |
|
bsalomon
2014/01/29 20:18:30
I think this will break some compilers because it
robertphillips
2014/01/29 20:57:55
Yep - I seem to recall the extern was required.
|
| {kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding}, |
| {kVec4f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding} |
| }; |