fix drawVertices when we have both colors and textures
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Dec 2013 16:52:00 +0000 (16:52 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Dec 2013 16:52:00 +0000 (16:52 +0000)
commit51c2a83bdac0745fc3b60795401d5db29c10ce11
treed896939873d6a3e5ac539d701d3cc26261e2008f
parent73be1fc2b02757e3d98621d7cf735591aa6dffdb
fix drawVertices when we have both colors and textures

fix: don't re-call setContext on the composshader (i.e. on the tricolor shader) for each triangle,
since the trishader handles that explicitly. Just call setContext on the original shader.

BUG=

Review URL: https://codereview.chromium.org/102193006

git-svn-id: http://skia.googlecode.com/svn/trunk@12847 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkDraw.cpp