diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-30 16:52:00 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-30 16:52:00 +0000 |
commit | 51c2a83bdac0745fc3b60795401d5db29c10ce11 (patch) | |
tree | d896939873d6a3e5ac539d701d3cc26261e2008f /tests/BitmapTest.cpp | |
parent | 73be1fc2b02757e3d98621d7cf735591aa6dffdb (diff) |
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
Diffstat (limited to 'tests/BitmapTest.cpp')
0 files changed, 0 insertions, 0 deletions