| commit | 65ee5f424cb4dabd453268902c00086605d77c1d | [log] [tgz] |
|---|---|---|
| author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 04 17:49:48 2014 +0000 |
| committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 04 17:49:48 2014 +0000 |
| tree | 4df198f1a75fddaf2a0396fa4f0272db8525fe6b | |
| parent | d52a99703bd8dcc2567fbe5f8c18d408c15ab7d7 [diff] [blame] |
Use GrConvexPolyEffect when clip is a single convex polygon BUG=skia:2051 Committed: http://code.google.com/p/skia/source/detail?r=13286 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/151523005 git-svn-id: http://skia.googlecode.com/svn/trunk@13306 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 6c4aace..f320735 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp
@@ -173,6 +173,7 @@ this->getContext(), *this->caps(), dummyTextures)); + SkASSERT(effect); int numAttribs = (*effect)->numVertexAttribs(); // If adding this effect would exceed the max attrib count then generate a