Fixed the bug in drawVertices when no colors or texture coordinates are provided...
authordandov <dandov@google.com>
Wed, 16 Jul 2014 02:46:26 +0000 (19:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Jul 2014 02:46:27 +0000 (19:46 -0700)
commit32a311bfc056169c9f3b1c299c57ff5139a0d8bc
tree9e1764e566eb6c89a72e845219ce966062f39519
parentc0ea398aff8254e31152cbb94c9ab6150428e252
Fixed the bug in drawVertices when no colors or texture coordinates are provided by modifying the grprimitive to klines and adjusting the indices.

BUG=skia:2745

Committed: https://skia.googlesource.com/skia/+/612364de87cb2012239c4f6435e8e11760617fdc

R=jvanverth@google.com, bsalomon@google.com, egdaniel@google.com

Author: dandov@google.com

Review URL: https://codereview.chromium.org/387113002
src/gpu/SkGpuDevice.cpp