Index: src/gpu/batches/GrAtlasTextBatch.cpp |
diff --git a/src/gpu/batches/GrAtlasTextBatch.cpp b/src/gpu/batches/GrAtlasTextBatch.cpp |
index 3f3a521794f00d9782778614ca5dcea9a46bb918..80306a1ee03a3dc8b28e691b3bbd51a14a29d1a8 100644 |
--- a/src/gpu/batches/GrAtlasTextBatch.cpp |
+++ b/src/gpu/batches/GrAtlasTextBatch.cpp |
@@ -204,7 +204,7 @@ inline void GrAtlasTextBatch::regenBlob(Target* target, FlushInfo* flushInfo, Bl |
} |
// We my have changed the color so update it here |
egdaniel
2015/12/09 17:08:01
my -> may
|
- run->fColor = color; |
+ info->setColor(color); |
if (regenTexCoords) { |
if (regenGlyphs) { |
info->setStrike(strike); |
@@ -378,7 +378,7 @@ void GrAtlasTextBatch::onPrepareDraws(Target* target) const { |
bool regenerateTextureCoords = info.atlasGeneration() != currentAtlasGen || |
regenerateGlyphs; |
bool regenerateColors = kARGB_GrMaskFormat != maskFormat && |
- run.fColor != args.fColor; |
+ info.color() != args.fColor; |
bool regeneratePositions = args.fTransX != 0.f || args.fTransY != 0.f; |
int glyphCount = info.glyphCount(); |