Index: src/gpu/effects/GrTextureStripAtlas.cpp |
diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp |
index 64ee711b36934375f68f2639cea432a5f435dde8..385a580d4326dc3a49770afb258b20b166f40d44 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.cpp |
+++ b/src/gpu/effects/GrTextureStripAtlas.cpp |
@@ -80,6 +80,7 @@ GrTextureStripAtlas::GrTextureStripAtlas(GrTextureStripAtlas::Desc desc) |
, fLRUBack(NULL) { |
SkASSERT(fNumRows * fDesc.fRowHeight == fDesc.fHeight); |
this->initLRU(); |
+ fNormalizedYHeight = SK_Scalar1 / fDesc.fHeight; |
VALIDATE; |
} |