diff options
author | 2015-04-10 15:32:00 +0000 | |
---|---|---|
committer | 2015-04-10 15:32:01 +0000 | |
commit | a08f6a66e91c7bacd50e64c039aaaa6b9fe2625c (patch) | |
tree | 38ccb9efe7e3c12da3f5813c8600d4a7326cd588 | |
parent | d56e087b550f7ee351f15ac6c5ff9d57a08387fc (diff) | |
parent | 1f61b1911e03ef3fc51c3db64798071f3a7477ec (diff) |
Merge "Fix GL_INVALID_OPERATION in font renderer when font cache is limited."
-rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 5b5b09820670..c1b50c108c2f 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -183,6 +183,8 @@ void FontRenderer::flushAllAndInvalidate() { for (uint32_t i = 0; i < mRGBACacheTextures.size(); i++) { mRGBACacheTextures[i]->init(); } + + mDrawn = false; } void FontRenderer::flushLargeCaches(Vector<CacheTexture*>& cacheTextures) { |