From b022177777c3602c47bb71c07920e63a261c5038 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 16 Oct 2012 14:16:11 +0000 Subject: Require matrix for custom stage to be set when custom stage is installed. Review URL: https://codereview.appspot.com/6696044 git-svn-id: http://skia.googlecode.com/svn/trunk@5962 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrTextContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrTextContext.cpp') diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp index c9944b9942..c3c361c799 100644 --- a/src/gpu/GrTextContext.cpp +++ b/src/gpu/GrTextContext.cpp @@ -35,7 +35,7 @@ void GrTextContext::flushGlyphs() { GrAssert(GrIsALIGN4(fCurrVertex)); GrAssert(fCurrTexture); GrTextureParams params(SkShader::kRepeat_TileMode, false); - drawState->createTextureEffect(kGlyphMaskStage, fCurrTexture, params); + drawState->createTextureEffect(kGlyphMaskStage, fCurrTexture, GrMatrix::I(), params); if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { if (kOne_GrBlendCoeff != fPaint.getSrcBlendCoeff() || -- cgit v1.2.3