Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index e4303c1d7c4e9800c8436d3320b80b11d9eeefca..a86d1d8bced752c45a0eb4bf053265f5fd32671d 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -17,6 +17,7 @@ |
#include "GrTextStrike_impl.h" |
#include "SkPath.h" |
#include "SkStrokeRec.h" |
+#include "effects/GrCustomCoordsTextureEffect.h" |
static const int kGlyphCoordsAttributeIndex = 1; |
@@ -37,7 +38,7 @@ void GrTextContext::flushGlyphs() { |
// This effect could be stored with one of the cache objects (atlas?) |
drawState->addCoverageEffect( |
- GrSimpleTextureEffect::CreateWithCustomCoords(fCurrTexture, params), |
+ GrCustomCoordsTextureEffect::Create(fCurrTexture, params), |
kGlyphCoordsAttributeIndex)->unref(); |
if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { |