| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index eec1389a81f8d6626aa9cbea3059f148097ca626..6b3346ca603f8fb78c1fce5624a0c05d557aa912 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -585,10 +585,8 @@ void GrDrawContext::drawAtlas(const GrClip& clip,
|
|
|
| AutoCheckFlush acf(fDrawingManager);
|
|
|
| - GrDrawAtlasBatch::Geometry geometry;
|
| - geometry.fColor = paint.getColor();
|
| - SkAutoTUnref<GrDrawBatch> batch(GrDrawAtlasBatch::Create(geometry, viewMatrix, spriteCount,
|
| - xform, texRect, colors));
|
| + SkAutoTUnref<GrDrawBatch> batch(new GrDrawAtlasBatch(paint.getColor(), viewMatrix, spriteCount,
|
| + xform, texRect, colors));
|
|
|
| GrPipelineBuilder pipelineBuilder(paint, this->mustUseHWAA(paint));
|
| this->getDrawTarget()->drawBatch(pipelineBuilder, this, clip, batch);
|
|
|