Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index e0d452997b267b8433a5147df5ef53099d754206..bc7af76ec00d2674842fec7460b36d93d660c5e7 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -1499,12 +1499,13 @@ public: |
void initBatchTracker(const GrPipelineInfo& init) override { |
// Handle any color overrides |
if (!init.readsColor()) { |
- fBatch.fColor = GrColor_ILLEGAL; |
+ fGeoData[0].fColor = GrColor_ILLEGAL; |
} |
- init.getOverrideColorIfSet(&fBatch.fColor); |
+ init.getOverrideColorIfSet(&fGeoData[0].fColor); |
// setup batch properties |
fBatch.fColorIgnored = !init.readsColor(); |
+ fBatch.fColor = fGeoData[0].fColor; |
fBatch.fUsesLocalCoords = init.readsLocalCoords(); |
fBatch.fCoverageIgnored = !init.readsCoverage(); |
} |