diff options
author | 2015-12-10 00:11:50 +0000 | |
---|---|---|
committer | 2015-12-10 00:11:50 +0000 | |
commit | c7964751d6745992065ec7c22d2a7feb51a0efe7 (patch) | |
tree | d05f9532652c5cea4b72625174dc16b4c3e787d6 /libs/hwui/FontRenderer.cpp | |
parent | 7aa8aef5f6982805a455a9f057f693e7310d6db2 (diff) | |
parent | f09ff5aa57bff01cb17595fb7ca8e48d238a6acd (diff) |
Merge "Add bitmapmesh, rect, and patch rendering"
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 9c8649fc9775..8acdb624a1ce 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -73,7 +73,7 @@ void TextDrawFunctor::draw(CacheTexture& texture, bool linearFiltering) { .setMeshTexturedIndexedQuads(texture.mesh(), texture.meshElementCount()) .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, bakedState->alpha) .setTransform(bakedState->computedState.transform, transformFlags) - .setModelViewOffsetRect(0, 0, Rect(0, 0, 0, 0)) + .setModelViewIdentityEmptyBounds() .build(); // Note: don't pass dirty bounds here, so user must manage passing dirty bounds to renderer renderer->renderGlop(nullptr, clip, glop); |