diff options
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index 52bed86e48..370165121d 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -128,14 +128,13 @@ private: indices[0] = 0; indices[1] = 1; indices[2] = 2; - indices[3] = 2; - indices[4] = 1; + indices[3] = 0; + indices[4] = 2; indices[5] = 3; // Setup positions SkPoint* position = (SkPoint*) vertices; - position->setRectTriStrip(fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, - vertexStride); + position->setRectFan(fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, vertexStride); // Setup vertex colors GrColor* color = (GrColor*)((intptr_t)vertices + kColorOffset); |