Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index a849c84e4ec71ba2e713ef3f4ab5c77a0dfa64bd..1e52d23fba19f5238636ba5f9c8246ab00843f33 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -609,7 +609,7 @@ void SkGpuDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, |
fContext->drawVertices(grPaint, |
gPointMode2PrimtiveType[mode], |
SkToS32(count), |
- (GrPoint*)pts, |
+ (SkPoint*)pts, |
NULL, |
NULL, |
NULL, |
@@ -1797,8 +1797,8 @@ void SkGpuDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, |
fContext->drawVertices(grPaint, |
gVertexMode2PrimitiveType[vmode], |
vertexCount, |
- (GrPoint*) vertices, |
- (GrPoint*) texs, |
+ vertices, |
+ texs, |
colors, |
indices, |
indexCount); |