Fixed the bug in drawVertices when no colors or texture coordinates are provided...
authordandov <dandov@google.com>
Mon, 14 Jul 2014 21:26:04 +0000 (14:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Jul 2014 21:26:04 +0000 (14:26 -0700)
commit612364de87cb2012239c4f6435e8e11760617fdc
treeb09d81fc423d0ec900dde56a744657f446a8a9ea
parentf459c85457c6f470af3fe096fef2524d5443401a
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
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